Just a thought.
I wondered if the idea of having a few configurable markup options had been considered in the past?
To start with the default markup options
//italics//
strikethrough
So hypothetically if the symbol || was…
||available||
…( I haven’t checked it probably isn’t )
…for configurable markup ‘option1’ then this might be used together with a user defined CSS declaration class ‘mkupoption1’ with the context of a div or perhaps a span resulting in
<span class="mkupoption1">available</span>
I guess there are probably precious few, perhaps even no suitable characters left for additional markup but I do like the idea of a few user configurables.
This occurred to me whilst annotating text OCR scanned from a book into a tiddler, the author had already used italics and bold to emphasize certain words or phrases but I wanted to add additional emphasis on some phrases in a way that I can distinguish them from the authors.
I found myself wishing I could highlight on a word by word or sentence by sentence basis, maybe characters with different background colour as if I was using a highlighter pen - not sure I would play around until I found something I liked.
Of course I know how to do this with HTML and CSS “in tiddler” but I try to keep my tiddlers confined to regular text and regular Tiddlywiki markup as much as possible so the tidiest option in keeping with the way things are now that I could see would be a few option configurable markup options. If such a system existed it would be really cool if the options page that allowed you to change the CSS for a configurable markup also gave the option to define the icon to appear with it, perhaps also the crtl key shortcut.
I know there are some additional editor options for Tiddlywiki but I was thinking it would be nice to have a few configurable markup options ‘out of the box’ in the standard Tiddlywiki product?
*span is probably the most appropriate text container for text markup? It can always be promoted to an inline block in the CSS?
Alternative Option.
Presently the markup for bold results in
<strong>example word</strong>
If instead this resulted in
<span class="mkupoption1">example word</span>
And css, icons and shortcuts were all user configurable in a nice interface then the existing markup scheme would simply be the “factory defaults” that the user could alter to their own satisfaction.
I don’t think I have ever used strikethrough so I would probably change that to highlight and change the CSS and probably the icon to suit my new purpose.