Re: [PATCH] Add option to export mixed Setext and ATX-style Markdown headlines

2024-05-12 Thread Ihor Radchenko
Lee Thompson writes: > ... > I hope this explains more clearly what I'm trying to achieve, do let me > know if not. Yes. Applied, onto main, with amendments. I changed the commit message and news style to imperative and tweaked one place in the code to not rely upon the existing set of the possi

Re: [PATCH] Add option to export mixed Setext and ATX-style Markdown headlines

2024-05-11 Thread Lee Thompson
Hi Ihor, > But isn't (setq org-md-headline-style 'setext) do exactly what you describe? My apologies, I should have included an example. What I'm trying to achieve is that instead of this: (set to setext) > One > === > > > Two > --- > > 1. Three > > 1. Four Or even something like this: (atx

Re: [PATCH] Add option to export mixed Setext and ATX-style Markdown headlines

2024-05-11 Thread Ihor Radchenko
Lee Thompson 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

[PATCH] Add option to export mixed Setext and ATX-style Markdown headlines

2024-05-11 Thread Lee Thompson
Greetings all, 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. I've