There doesn't seem to be any documentation in https://pandoc.org/lua-filters.html#module-pandoc for pandoc.Blocks or pandoc.Inlines factory functions. It's especially confusing because Blocks and Inlines are described with:
It is usually not necessary to create values of this type in user scripts, as pandoc can convert other types into Blocks wherever a value of this type is expected
This suggests that there may be no way to directly create them manually e.g. if one needs to use walk on a list of blocks or inlines.
Explain the problem.
There doesn't seem to be any documentation in https://pandoc.org/lua-filters.html#module-pandoc for
pandoc.Blocks
orpandoc.Inlines
factory functions. It's especially confusing becauseBlocks
andInlines
are described with:This suggests that there may be no way to directly create them manually e.g. if one needs to use
walk
on a list of blocks or inlines.Pandoc version? Any