public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* No Markdown headers beyond level 3 in PDF conversion
@ 2019-10-23 19:40 Oscar Barreca
       [not found] ` <baa6f0df-ff6d-49c7-811b-8874d939ddfa-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Oscar Barreca @ 2019-10-23 19:40 UTC (permalink / raw)
  To: pandoc-discuss


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

Hi, I did a quick research and could not find a question like this one.

Simply put, I'm developing a Markdown file that I wish to convert into PDF. 
The issue simply is that markdown headers beyond level 3 are not being 
treated as such, so for example

#### Small title

is visualized in plain text. Is there any piece of doc addressing this 
behavior where I can possibly solve it?

P.S. The issue persists with HTML conversion too.

-- 
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/baa6f0df-ff6d-49c7-811b-8874d939ddfa%40googlegroups.com.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: No Markdown headers beyond level 3 in PDF conversion
       [not found] ` <baa6f0df-ff6d-49c7-811b-8874d939ddfa-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2019-10-23 19:49   ` Václav Haisman
  2019-10-23 19:52   ` Oscar Barreca
  1 sibling, 0 replies; 3+ messages in thread
From: Václav Haisman @ 2019-10-23 19:49 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 1770 bytes --]

On 23. 10. 19 21:40, Oscar Barreca wrote:
> Hi, I did a quick research and could not find a question like this one.
>
> Simply put, I'm developing a Markdown file that I wish to convert into
> PDF. The issue simply is that markdown headers beyond level 3 are not
> being treated as such, so for example
>
> #### Small title
>
> is visualized in plain text. Is there any piece of doc addressing this
> behavior where I can possibly solve it?

Using |echo '#### Test' | pandoc -f markdown -t latex| generates LaTeX
with |\paragraph{Test}|:

|\hypertarget{test}{% \paragraph{Test}\label{test}} |

That seems alright.

​



>
> P.S. The issue persists with HTML conversion too.
>
> -- 
> 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> <mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/baa6f0df-ff6d-49c7-811b-8874d939ddfa%40googlegroups.com
> <https://groups.google.com/d/msgid/pandoc-discuss/baa6f0df-ff6d-49c7-811b-8874d939ddfa%40googlegroups.com?utm_medium=email&utm_source=footer>.


-- 
VH

-- 
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/dbab9e05-3380-f81e-ad7c-b54ed23b16e5%40gmail.com.

[-- Attachment #2: Type: text/html, Size: 5314 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: No Markdown headers beyond level 3 in PDF conversion
       [not found] ` <baa6f0df-ff6d-49c7-811b-8874d939ddfa-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2019-10-23 19:49   ` Václav Haisman
@ 2019-10-23 19:52   ` Oscar Barreca
  1 sibling, 0 replies; 3+ messages in thread
From: Oscar Barreca @ 2019-10-23 19:52 UTC (permalink / raw)
  To: pandoc-discuss


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

At last, I found the relevant piece of documentation under 
https://pandoc.org/MANUAL.html

Standard Markdown syntax does not require a blank line before a heading. 
> Pandoc does require this (except, of course, at the beginning of the 
> document). The reason for the requirement is that it is all too easy for a 
> # to end up at the beginning of a line by accident (perhaps through line 
> wrapping). *[...]*
>

Problem solved.

Am Mittwoch, 23. Oktober 2019 21:40:07 UTC+2 schrieb Oscar Barreca:
>
> Hi, I did a quick research and could not find a question like this one.
>
> Simply put, I'm developing a Markdown file that I wish to convert into 
> PDF. The issue simply is that markdown headers beyond level 3 are not being 
> treated as such, so for example
>
> #### Small title
>
> is visualized in plain text. Is there any piece of doc addressing this 
> behavior where I can possibly solve it?
>
> P.S. The issue persists with HTML conversion too.
>
>

-- 
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/271e4cef-17cf-427d-90f0-26a5d5d65064%40googlegroups.com.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-23 19:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-23 19:40 No Markdown headers beyond level 3 in PDF conversion Oscar Barreca
     [not found] ` <baa6f0df-ff6d-49c7-811b-8874d939ddfa-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-10-23 19:49   ` Václav Haisman
2019-10-23 19:52   ` Oscar Barreca

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).