diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2021-12-28 12:35:22 +0100 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2021-12-28 12:35:22 +0100 |
commit | 8bd22270c8ac5d4f76164f8c5854ba26e901e161 (patch) | |
tree | 4d7993230dfdd9bc1b6ebd7035c771f8ff147dfc /doc | |
parent | fbd2c8e376eea5eccc0b799f8e48d10c7ab8b6d9 (diff) | |
download | pandoc-8bd22270c8ac5d4f76164f8c5854ba26e901e161.tar.gz |
doc/lua-filters.md: improve documentation of `make_sections`
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua-filters.md | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/lua-filters.md b/doc/lua-filters.md index 440d06653..eba4dcfe9 100644 --- a/doc/lua-filters.md +++ b/doc/lua-filters.md @@ -3359,9 +3359,21 @@ non-null, `Header` levels will be reorganized so that there are no gaps, and so that the base level is the level specified. +Parameters: + +`number_sections` +: whether section divs should get an additional `number` + attribute containing the section number. (boolean) + +`base_level` +: shift top-level headings to this level. (integer|nil) + +`blocks` +: list of blocks to process ([Blocks](#type-blocks)) + Returns: -- List of [Blocks](#type-block). +- [Blocks](#type-blocks). Usage: |