Re: [Feature Request] Create an org-md-toplevel-hlevel variable to allow users to set the level of top level headings in markdown export

2022-08-26 Thread Rohit Patnaik
Thanks so much for making those changes and getting it merged. -- Rohit

Re: [Feature Request] Create an org-md-toplevel-hlevel variable to allow users to set the level of top level headings in markdown export

2022-08-26 Thread Ihor Radchenko
"Rohit Patnaik" writes: > I've added the entry in the NEWS file, added the entry for the new > variable to section 14.1.5 of the manual, updated the docstring to > have double space periods, and updated the commit message to follow > the changelog style described on > https://orgmode.org/worg/org

Re: [Feature Request] Create an org-md-toplevel-hlevel variable to allow users to set the level of top level headings in markdown export

2022-08-22 Thread Max Nikulin
On 21/08/2022 22:11, Rohit Patnaik wrote: 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.

Re: [Feature Request] Create an org-md-toplevel-hlevel variable to allow users to set the level of top level headings in markdown export

2022-08-21 Thread Ihor Radchenko
"Rohit Patnaik" writes: >> This contribution will be welcome. > > I've attached a patch which implements the change. I followed the pattern that > ox-html uses to the greatest extent possible. I tested it by exporting > org-mode > files to markdown with the table of contents both enabled and dis

Fwd: Re: [Feature Request] Create an org-md-toplevel-hlevel variable to allow users to set the level of top level headings in markdown export

2022-08-21 Thread Rohit Patnaik
> 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. I considered reusing the value fro

Re: [Feature Request] Create an org-md-toplevel-hlevel variable to allow users to set the level of top level headings in markdown export

2022-08-21 Thread Max Nikulin
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 ((sty

Re: [Feature Request] Create an org-md-toplevel-hlevel variable to allow users to set the level of top level headings in markdown export

2022-08-21 Thread Rohit Patnaik
> This contribution will be welcome. I've attached a patch which implements the change. I followed the pattern that ox-html uses to the greatest extent possible. I tested it by exporting org-mode files to markdown with the table of contents both enabled and disabled. I didn't see any errors, and I

Re: [Feature Request] Create an org-md-toplevel-hlevel variable to allow users to set the level of top level headings in markdown export

2022-08-20 Thread Ihor Radchenko
"Rohit Patnaik" writes: > Hello, > > I've been exporting several of my org-mode notes to markdown recently, and > I've been running into an issue where I've had to manually adjust the level > of the top level headings in my exported notes because the wiki system I'm > importing the notes to re

[Feature Request] Create an org-md-toplevel-hlevel variable to allow users to set the level of top level headings in markdown export

2022-08-19 Thread Rohit Patnaik
Hello, I've been exporting several of my org-mode notes to markdown recently, and I've been running into an issue where I've had to manually adjust the level of the top level headings in my exported notes because the wiki system I'm importing the notes to reserves h1 (i.e. #) for page titles, u