Hi.
I was working on a wikitext brush over a year ago for Rob Hoelz’s brush loader for the highlight.js plugin. It’s a hack of the markdown brush. It was never in a state I was happy to make public and, being a non-programmer, it’s still very janky. Since I’ve come across this thread, I’ve brushed it up (no pun intended) and uploaded to tiddlyhost in the hopes that someone finds it useful and make a more competent highlighter.
https://tw-wikitext-brush.tiddlyhost.com/
It uses regex lookahead and lookbehind, the latter is not supported on safari. It’s unusable on internet explorer.
Thanks for a wonderful tool and a wonderful community.