Variable: org-md-toplevel-hlevel

org-md-toplevel-hlevel is a customizable variable defined in ox-md.el.gz.

Value

1

Documentation

Heading level to use for level 1 Org headings in markdown export.

If this is 1, headline levels will be preserved on export. If this is
2, top level Org headings will be exported to level 2 markdown
headings, level 2 Org headings will be exported to level 3 markdown headings, and so on.

Incrementing this value may be helpful when creating markdown to be included into another document or application that reserves top-level headings for its own use.

This variable was added, or its default value changed, in Org version
9.6.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-md.el.gz
(defcustom org-md-toplevel-hlevel 1
  "Heading level to use for level 1 Org headings in markdown export.

If this is 1, headline levels will be preserved on export.  If this is
2, top level Org headings will be exported to level 2 markdown
headings, level 2 Org headings will be exported to level 3 markdown
headings, and so on.

Incrementing this value may be helpful when creating markdown to be
included into another document or application that reserves top-level
headings for its own use."
  :group 'org-export-md
  :package-version '(Org . "9.6")
  ;; Avoid `natnum' because that's not available until Emacs 28.1.
  :type 'integer)