Hi Stobot, First, just to be sure -- you do know that you can use the edit toolbar to apply the superscript? That's why I assumed you were interested. You can even use a key short-cut, though it would need to re-assigned on firefox because it conflicts with the private session keystroke sequence.
If so, one quick way to put in your own syntax is to hack $:/core/ui/EditorToolbar/superscript Change the references to "^^" to "<mark>" and "</mark>" and you're done. Making your own syntax in this case is surprisingly easy (though I don't know how easily it breaks). Take the tiddler: $:/core/modules/parsers/wikiparser/rules/emphasis/superscript.js and clone it. Change the title to $:/core/modules/parsers/wikiparser/rules/emphasis/mark.js Change all references to "superscript" into "mark" and all the references to ^ into = . Change the tag="sup" to tag="mark". Save and reload (you have to reload after changing or adding javascript macros). Now whenever you type "My name is ==Mark== " the text "Mark" will be highlighted. Oh! Be sure to make a backup before trying this on any TW5 file that you actually want to keep! -- Mark On Monday, July 9, 2018 at 2:24:40 PM UTC-7, Stobot wrote: > > Thanks for the creative alternative guys - yes, based on what I'm doing > the winner is the minimum number of keys, so ^^something^^ is still shorter > than <m>something</m>, but I definitely learned something! > > I imagine the ability to come up with my own Wikitext to convert (such as > the original ==something== into <mark>something</mark>) is a bit more > in-depth and would require editing the core javascript or something right? > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/374c40cf-41bc-4048-9da7-e8a36cdebb5d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.