I probably haven’t haha I’m not great at explaining my intentions or thoughts.
My goal was to create my own WikiText syntax that looked as if it were straight out of the core of tiddlywiki, both to learn more about the inner workings of tiddlywiki, and for my own personal use-case.
to clarify, my goal is to use two unused symbol characters to create my own custom inline wikitext syntax to apply <mark>
to a selected amount of text.
to do so, I cloned and modified $:/core/modules/parsers/wikiparser/rules/emphasis/italic.js
and replaced /\/\//mg;
with /&&/mg;
inside the tiddler, allowing me to add highlighting using the following: &&Highlighted Text&&
I did not realize that in order to load the new Javascript I had to reload my TiddlyWiki, and was under the assumption it was because there was some extra step i had somehow missed, however that was partly the case.