doc/lua-filters.md: improve documentation of make_sections

This commit is contained in:
Albert Krewinkel 2021-12-28 12:35:22 +01:00
parent fbd2c8e376
commit 8bd22270c8
No known key found for this signature in database
GPG key ID: 388DC0B21F631124

View file

@ -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: