is there a way to get to the parent in the Pandoc AST from the current element in a Lua filter?
I would like to distinguish treatment of elements depending on their context in the syntax tree, e.g. handle a 'span' element differently if it is a child of a 'cell' element in a table.