aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2021-12-28 12:35:22 +0100
committerAlbert Krewinkel <albert@zeitkraut.de>2021-12-28 12:35:22 +0100
commit8bd22270c8ac5d4f76164f8c5854ba26e901e161 (patch)
tree4d7993230dfdd9bc1b6ebd7035c771f8ff147dfc /doc
parentfbd2c8e376eea5eccc0b799f8e48d10c7ab8b6d9 (diff)
downloadpandoc-8bd22270c8ac5d4f76164f8c5854ba26e901e161.tar.gz
doc/lua-filters.md: improve documentation of `make_sections`
Diffstat (limited to 'doc')
-rw-r--r--doc/lua-filters.md14
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: