Shower thought: instead of writing a complex #Pandoc Lua filter to manipulate the AST—just preprocess the document with a #sed one-liner. Doh! and done.
@true_mxp sed is the superpower I wish I had.
@felwert I’m no sed wizard either. In fact, all I needed here was s/…/…/g—otherwise I’d have probably used Perl ;-)
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.
@true_mxp sed is the superpower I wish I had.