emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Fwd: Re: [Feature Request] Create an org-md-toplevel-hlevel variable to allow users to set the level of top level headings in markdown export
@ 2022-08-21 15:12 Rohit Patnaik
  0 siblings, 0 replies; only message in thread
From: Rohit Patnaik @ 2022-08-21 15:12 UTC (permalink / raw)
  Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 720 bytes --]

> Since md backend is derived from html, is it necessary to define an 
> option specific to markdown or the value defined for HTML may be reused? 
> I am unsure which variant will be more convenient, so it is not more 
> than an idea that may be easily discarded.

I considered reusing the value from the HTML exporter, but I rejected it,
because the org-html-toplevel-hlevel defaults to 2. Reusing it would alter the
existing default behavior for markdown exports, which I thought was undesirable.

If you think it's okay to alter the existing behavior of Markdown exports, I
could change the code to use org-html-toplevel-hlevel to control the top level
heading level of both HTML and markdown exports.

Thanks,
Rohit

[-- Attachment #2: Type: text/html, Size: 1148 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-21 15:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-21 15:12 Fwd: Re: [Feature Request] Create an org-md-toplevel-hlevel variable to allow users to set the level of top level headings in markdown export Rohit Patnaik

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).