public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Sami Tahri <imaxisas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Line breaks for very longg words  - markdown to pdf or docx
Date: Thu, 24 Aug 2023 03:02:51 -0700 (PDT)	[thread overview]
Message-ID: <888e1e7e-3318-4a0f-b7b1-775b24fbf916n@googlegroups.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1833 bytes --]

Hi,

I'm just starting to use pandoc and trying to grasp all different concept 
of the project.

My main use is to generate PDF reports by generating markdowns. This work 
great, but there some issue for specific contents:

I want to display SHA512 in tables (or a list).

This is what it looks like : 

| | |
| - | - |
| **Uuid** | 0b5b0899-b3d4-b133-35a2-2870e597f1c8 |
| **Type** | file |
| **MD5** | d597272b3eeacb8861280fd4f72be29f |
| **SHA1** | ae8f214c429848080a16235a14861a14800e6bf3 |
| **SHA256** | 
f9b33769ff7832be4e204a9c60a76df83ba122748ecc837750c0a9b63208f0d9 |
| **SHA512** | 
76667a2060e21b75fc44b63c78f06873776996a4330256259d19143b1ceecbebf3e2763c7bbec5d00308ef9ec377c1ea210480407529d7261695128a6b82782eezaezaezaeazezaezaezaeazezaazeazezaeazeazeazeazeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeeaeaeaeaeaeaeaeaeaea19191919 
|


I run the command pandoc test.md -o test.pdf,

But sadly the SHA512 overflow in the following manner (see attached image). 
Of course, splitting the SHA in multiple strings solve the issue because it 
will considerered as multiple words.

I tried multiple thing like using a cssfile with word-break, using the 
columns options, etc.

Is there a way to do linebreaking on all markdown table ? I can modify the 
pandoc template I use, but I don't control the markdown appart from the 
headers (so I can't include custom tags/markdown syntax).

Thank you in advance for your answers :).

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/888e1e7e-3318-4a0f-b7b1-775b24fbf916n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 4957 bytes --]

[-- Attachment #2: pdfpanddoc.png --]
[-- Type: image/png, Size: 18783 bytes --]

             reply	other threads:[~2023-08-24 10:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-24 10:02 Sami Tahri [this message]
     [not found] ` <888e1e7e-3318-4a0f-b7b1-775b24fbf916n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-08-24 10:54   ` Bastien DUMONT

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=888e1e7e-3318-4a0f-b7b1-775b24fbf916n@googlegroups.com \
    --to=imaxisas-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).