emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Rohit Patnaik" <quanticle@quanticle.net>
Cc: emacs-orgmode@gnu.org
Subject: 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
Date: Sun, 21 Aug 2022 10:12:02 -0500	[thread overview]
Message-ID: <cce13eda-407f-4aac-b9a1-fec501e3f835@www.fastmail.com> (raw)

[-- 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 --]

                 reply	other threads:[~2022-08-21 15:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cce13eda-407f-4aac-b9a1-fec501e3f835@www.fastmail.com \
    --to=quanticle@quanticle.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).