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.