From 8bd22270c8ac5d4f76164f8c5854ba26e901e161 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Tue, 28 Dec 2021 12:35:22 +0100 Subject: doc/lua-filters.md: improve documentation of `make_sections` --- doc/lua-filters.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3