public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Is there a switch to make Pandoc output Markdown hash # headings rather than underlines?
@ 2018-12-30 15:59 Dave Everitt
       [not found] ` <a51e9b2c-f874-4c36-b0e6-ee4ec7f7ddd2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Everitt @ 2018-12-30 15:59 UTC (permalink / raw)
  To: pandoc-discuss


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

I'm using Pandoc to convert docx files to Markdown.

However, I always prefer the hash style #, ##, ###, etc… for Markdown 
headings, and cannot find a switch in the Pandoc docs to change to these 
from the Pandoc default Markdown level 1 and 2 underline headings ====, 
----.

How can I set this up so my .md files always use #, ##, ###, etc… Markdown 
headings?

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/a51e9b2c-f874-4c36-b0e6-ee4ec7f7ddd2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: Is there a switch to make Pandoc output Markdown hash # headings rather than underlines?
       [not found] ` <a51e9b2c-f874-4c36-b0e6-ee4ec7f7ddd2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2018-12-30 16:12   ` Albert Krewinkel
       [not found]     ` <80C83701-7B65-405A-A7A4-8EDAE106405D-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Albert Krewinkel @ 2018-12-30 16:12 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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

You are probably looking for --atx-headers.

https://pandoc.org/MANUAL.html#option--atx-headers

Am 30. Dezember 2018 16:59:18 MEZ schrieb Dave Everitt <deveritt08-Re5JQEeQqe8@public.gmane.orgm>:
>I'm using Pandoc to convert docx files to Markdown.
>
>However, I always prefer the hash style #, ##, ###, etc… for Markdown 
>headings, and cannot find a switch in the Pandoc docs to change to
>these 
>from the Pandoc default Markdown level 1 and 2 underline headings ====,
>
>----.
>
>How can I set this up so my .md files always use #, ##, ###, etc…
>Markdown 
>headings?
>
>-- 
>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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>To view this discussion on the web visit
>https://groups.google.com/d/msgid/pandoc-discuss/a51e9b2c-f874-4c36-b0e6-ee4ec7f7ddd2%40googlegroups.com.
>For more options, visit https://groups.google.com/d/optout.

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/80C83701-7B65-405A-A7A4-8EDAE106405D%40zeitkraut.de.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: Is there a switch to make Pandoc output Markdown hash # headings rather than underlines?
       [not found]     ` <80C83701-7B65-405A-A7A4-8EDAE106405D-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
@ 2018-12-31 16:23       ` Dave Everitt
  0 siblings, 0 replies; 3+ messages in thread
From: Dave Everitt @ 2018-12-31 16:23 UTC (permalink / raw)
  To: pandoc-discuss


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

Thanks Albert - that's exactly what I needed. Didn't know to search the 
docs for "ATX headers"!

On Sunday, December 30, 2018 at 4:13:09 PM UTC, Albert Krewinkel wrote:
>
> You are probably looking for --atx-headers.
>
> https://pandoc.org/MANUAL.html#option--atx-headers
>
>>

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/3b7b9fd4-75b2-4754-b671-7cee0e0eb998%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

end of thread, other threads:[~2018-12-31 16:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-30 15:59 Is there a switch to make Pandoc output Markdown hash # headings rather than underlines? Dave Everitt
     [not found] ` <a51e9b2c-f874-4c36-b0e6-ee4ec7f7ddd2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-12-30 16:12   ` Albert Krewinkel
     [not found]     ` <80C83701-7B65-405A-A7A4-8EDAE106405D-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2018-12-31 16:23       ` Dave Everitt

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