From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Proposal: default to ATX-style headings in markdown output
Date: Thu, 03 Sep 2020 08:57:40 -0700 [thread overview]
Message-ID: <m2blimyhsb.fsf@MacBook-Pro.hsd1.ca.comcast.net> (raw)
Currently in writing markdown (and commonmark) pandoc emits
Setext-style (underlined) headings for levels 1 and 2, ATX_style
(#) for the rest, unless the `--atx-headers` option is used
to force ATX.
Proposal: given that setext headings are becoming more
uncommon, and in view of the ugliness of switching heading
styles at level 3, default instead to ATX-style headings,
unless a new `--setext-headings` option is used.
Comments?
Note: in principle we could also change the default just
for commonmark/gfm output, not for default markdown.
However, this would still require adding a --setext-headings
option.
next reply other threads:[~2020-09-03 15:57 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-03 15:57 John MacFarlane [this message]
2020-09-03 16:06 ` Anton Shepelev
[not found] ` <20200903190619.e924ccd888daca8cef4460ea-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-09-03 16:21 ` BPJ
[not found] ` <CADAJKhAM7MbY3GExs38hrApHrSntg87X04sKbJTnSb1bWzQPGA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-09-03 16:51 ` Leonard Rosenthol
[not found] ` <CALu=v3LKDJpsEL-WoK8vre3uJAgrWrOeaRM0gy4RH1+kLm8Qkg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-09-03 17:11 ` Joseph Reagle
[not found] ` <m2blimyhsb.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-09-03 19:07 ` Dmitry Safronov
[not found] ` <3baeae13-8eca-4464-ac84-84c988f7a91do-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-09-04 16:09 ` John MacFarlane
2020-09-03 20:28 ` Denis Maier
[not found] ` <586af284-c52b-d1df-04d2-96fd2f52d8e3-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org>
2020-09-03 20:37 ` MyriaCore
[not found] ` <d8df1ef0-7a5a-4a07-8758-909a262e6119n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-09-03 21:09 ` Pranesh Prakash
[not found] ` <39d45d2d-952a-4af3-8f3b-e9af667f2a49n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-09-04 6:00 ` Albert Krewinkel
2020-09-04 8:54 ` Anton Shepelev
2020-09-04 9:42 ` Anton Shepelev
[not found] ` <20200904124240.5d93260af90b10618677d8cb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-09-04 10:44 ` BPJ
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=m2blimyhsb.fsf@MacBook-Pro.hsd1.ca.comcast.net \
--to=jgm-tvlzxgkolnx2fbvcvol8/a@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).