mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-30 12:27:51 +00:00
b7f4afe86c
* lisp/ox-md.el (defcustom org-md-toplevel-hlevel): Define the customizable variable that defines the top level heading to use when exporting to markdown. (org-export-define-derived-backend): Read the value of the new `org-md-toplevel-hlevel' variable into the `:options-alist' for this backend (org-md--build-toc): Use the newly defined top-level heading setting to control the heading level for the "Table of Contents" text. (org-md-headline): Use the newly defined top-level heading setting as an offset to the heading level calculated by `org-export-get-relative-level'. This patch adds a new setting: `org-md-toplevel-hlevel' that controls which Markdown heading level is used for top level headings. This change makes markdown export more like HTML export, which has a `org-html-toplevel-hlevel' variable which does the same thing for HTML export. TINYCHANGE |
||
---|---|---|
.. | ||
csl | ||
schema | ||
styles | ||
Makefile | ||
ORG-NEWS |