* 'Markdown Export' Info Wrong?
@ 2024-04-03 13:52 Lee Thompson
2024-04-03 14:00 ` Ihor Radchenko
0 siblings, 1 reply; 2+ messages in thread
From: Lee Thompson @ 2024-04-03 13:52 UTC (permalink / raw)
To: emacs-orgmode
Hi all,
I noticed when browsing the info manual for Markdown Export options this
line concerning headline styles seems to be wrong:
> Header and sectioning structure
> -------------------------------
>
> Based on ‘org-md-headline-style’, Markdown export can generate headlines
> of both _atx_ and _setext_ types. _atx_ limits headline levels to two
> whereas _setext_ limits headline levels to six. Beyond these limits,
> the export back-end converts headlines to lists. To set a limit to a
> level before the absolute limit (see *note Export Settings::).
Should this not be the other way round? ATX headlines being repeated
hashes limited to 6 levels and Setext headlines being underlined with
equals for top-level then dashes for second-level.
Is this a quick change I could make myself and contribute?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 'Markdown Export' Info Wrong?
2024-04-03 13:52 'Markdown Export' Info Wrong? Lee Thompson
@ 2024-04-03 14:00 ` Ihor Radchenko
0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2024-04-03 14:00 UTC (permalink / raw)
To: Lee Thompson; +Cc: emacs-orgmode
Lee Thompson <lee.p.thomp@gmail.com> writes:
> I noticed when browsing the info manual for Markdown Export options this
> line concerning headline styles seems to be wrong:
>
>> Header and sectioning structure
>> -------------------------------
>>
>> Based on ‘org-md-headline-style’, Markdown export can generate headlines
>> of both _atx_ and _setext_ types. _atx_ limits headline levels to two
>> whereas _setext_ limits headline levels to six. Beyond these limits,
>> the export back-end converts headlines to lists. To set a limit to a
>> level before the absolute limit (see *note Export Settings::).
>
> Should this not be the other way round? ATX headlines being repeated
> hashes limited to 6 levels and Setext headlines being underlined with
> equals for top-level then dashes for second-level.
Looks like you are right.
> Is this a quick change I could make myself and contribute?
Yes. See https://orgmode.org/worg/org-contribute.html#first-patch
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-04-03 14:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-03 13:52 'Markdown Export' Info Wrong? Lee Thompson
2024-04-03 14:00 ` Ihor Radchenko
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.