Hello everyone!
I’ve been working on a plugin to augment the behavior of the heading
wikirule. Currently, I’m just creating my own wikirule based on heading
and disabling the built-in heading
rule via configuration, but I was wondering if a better way existed.
I looked into the wikirule loading and execution process, and from my understanding the winner is determined by which parse rule’s match starts the earliest in the text from the current position, with later rules (“later” here defined by JavaScript object iteration order) being favored in the case of a tie - does that sound correct to those of you with a more intimate knowledge of the wikiparser?
Is there a good way for me to have TiddlyWiki favor my wikirule over the built-in one, short of disabling the built-in? Or perhaps I’m going about this entirely the wrong way?
Thanks,
Rob