Lee Thompson <lee.p.th...@gmail.com> writes: > This patch adds a new option `'mixed' to `org-md-headline-style' that > when enabled allows for exporting the first two headline levels in > Setext-style, and the rest in ATX-style. I like the mixed style for > certain situations, and I couldn't find a way to export in this manner.
But isn't (setq org-md-headline-style 'setext) do exactly what you describe? I just tried with #+options: toc:nil * 1 ** 2 *** 3 **** 4 It exports to One === Two --- 1. Three 1. Four AFAIK, headlines below level 2 simply cannot be exported with setext style, so Org mode already falls back to atx in >2 levels. -- 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>