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
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.