forked from mirrors/org-mode
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 |
||
---|---|---|
.. | ||
.aspell.org.conf | ||
.nosearch | ||
Documentation_Standards.org | ||
Makefile | ||
dir | ||
doc-setup.org | ||
fdl.org | ||
htmlxref.cnf | ||
org-guide.org | ||
org-manual.org | ||
orgcard.tex | ||
pdflayout.sty | ||
texinfo.tex |