html: Allow limiting level of headlines to be included in toc
The org mode toc OPTION does not just support true/false - it also allows specifying the max headline level [1] to be included in the toc. [1] headline level as seen in org mode - not the html tag level
This commit is contained in:
parent
7a2cd1abb1
commit
f1361615ed
6 changed files with 59 additions and 5 deletions
|
@ -169,7 +169,7 @@ func (d *Document) Get(key string) string {
|
|||
// - < (export timestamps)
|
||||
// - e (export org entities)
|
||||
// - f (export footnotes)
|
||||
// - toc (export table of content)
|
||||
// - toc (export table of content. an int limits the included org headline lvl)
|
||||
// - todo (export headline todo status)
|
||||
// - pri (export headline priority)
|
||||
// - tags (export headline tags)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue