Shower thought: instead of writing a complex Lua filter to manipulate the AST—just preprocess the document with a one-liner. Doh! and done.

@felwert I’m no sed wizard either. In fact, all I needed here was s/…/…/g—otherwise I’d have probably used Perl ;-)

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.