|
From: | Max Nikulin |
Subject: | 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 21:26:50 +0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 |
On 21/08/2022 18:07, Rohit Patnaik wrote:
I've attached a patch which implements the change.
Thank you for the patch.
@@ -229,9 +242,10 @@ When optional argument SCOPE is non-nil, build a table of contents according to the specified element." (concat (unless scope - (let ((style (plist-get info :md-headline-style)) + (let ((level (plist-get info :md-toplevel-hlevel)) + (style (plist-get info :md-headline-style))
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.
[Prev in Thread] | Current Thread | [Next in Thread] |