Hi,

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.

Thanks, T.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/b4305519-9dbf-4254-a3d7-7b9e1dab9d6en%40googlegroups.com.