I have markdown source and want to generate PDF using Pandoc.
I want to remove sub sections from a specific level, in the generated document. E.g. filter them from the source markdown.
Would this be possible with Lua or would it be better to do prefiltering using some other tools?