Add text to start of Lua pandoc Span and Div when I show/hide solutions
I am trying to write a Lua filter for pandoc to show solutions based on a metadata variable for both span and div elements. I was able to get the answers to render based on the metadata filter using this this question/answer.
Add text to start of Lua pandoc Span and Div when I show/hide solutions
I am trying to write a Lua filter for pandoc to show solutions based on a metadata variable for both span and div elements. I was able to get the answers to render based on the metadata filter using this this question/answer.
Get parent of element in Lua Pandoc filter
Is there a way to get the parent of an element, i.e. the element in which an element is in?
Pandoc Lua filter matching all element types
How to write a Pandoc Lua filter with a function matching all elements despite ot its node type?