* [BUG] Org Markdown exporter (ox-md) does not respect Footnotes heading level [9.6.6 (release_9.6.6 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)]
@ 2023-12-13 19:34 Pablo Padilla
2023-12-15 14:03 ` Ihor Radchenko
0 siblings, 1 reply; 2+ messages in thread
From: Pablo Padilla @ 2023-12-13 19:34 UTC (permalink / raw)
To: emacs-orgmode
Emacs : GNU Emacs 29.1 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build 18G9323))
of 2023-08-17
Package: Org mode version 9.6.6 (release_9.6.6 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)
I have describe the bug here: https://emacs.stackexchange.com/q/79770/11978
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [BUG] Org Markdown exporter (ox-md) does not respect Footnotes heading level [9.6.6 (release_9.6.6 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)]
2023-12-13 19:34 [BUG] Org Markdown exporter (ox-md) does not respect Footnotes heading level [9.6.6 (release_9.6.6 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)] Pablo Padilla
@ 2023-12-15 14:03 ` Ihor Radchenko
0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2023-12-15 14:03 UTC (permalink / raw)
To: Pablo Padilla; +Cc: emacs-orgmode
Pablo Padilla <pgpb.padilla@gmail.com> writes:
> I have describe the bug here: https://emacs.stackexchange.com/q/79770/11978
Thanks for reporting!
Fixed, on bugfix.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=6e72a4c7f
Original post:
Given that I have an Org document with footnotes
And I have defined:
#+BIND: org-md-toplevel-hlevel 2
And in my Emacs init script I have set:
(setq org-export-allow-bind-keywords t)
When I export using ox-md: C-c C-e m m
Expected: Then I should see that the footnotes heading is a level 2 heading
Actual: The footnotes heading is always exported as a level 1 heading
Do I need to change another setting for this to work?
The entire Org document:
#+BIND: org-md-toplevel-hlevel 2
Post summary or tagline.
** level 1
Post starts here. [fn:1]
*** level2
lorem ipsum
** Footnotes
[fn:1] a footnote
The resulting Markdown file:
## Table of Contents
1. [level 1](#orgfadcdb8)
1. [level2](#org61fade8)
Post summary or tagline.
<a id="orgfadcdb8"></a>
## level 1
Post starts here. <sup><a id="fnr.1" class="footref" href="#fn.1" role="doc-backlink">1</a></sup>
<a id="org61fade8"></a>
### level2
lorem ipsum
# Footnotes
<sup><a id="fn.1" href="#fnr.1">1</a></sup> a footnote
--
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:[~2023-12-15 14:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-13 19:34 [BUG] Org Markdown exporter (ox-md) does not respect Footnotes heading level [9.6.6 (release_9.6.6 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)] Pablo Padilla
2023-12-15 14:03 ` Ihor Radchenko
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).