TonyM wrote:
>
>
> If you had *only one appropriate "escape" character *you can code 
> multiple behaviours by what you provide after that. An escape character is 
> more reliable if people cant normally enter it via the keyboard, but a 
> custom shortcut can insert any character and editor toolbar buttons can 
> simplify this. 
>

There are a lot of things packed into your suggestions :-) The core idea, 
though, looks very good to me! 
 
§htmltag.classname.classname<space>

... is neat in that *§ *(or whatever glyph chosen) is consistent in terms 
of use with existing WikiText ... so ...

§<space>Text

... does something already to apply any defined CSS to default element 
inserted by *§* ... and this ...

§.offset.hilite<space>Text

... applies additional classes to default element for *§ *... and ... this 
...

§aside.offset<space>Text

... creates a specific HTML tag (aside) and applies classes.

So far so good! Its (a) readable; (b) extends WikiText in a logical way; 
uses ONE  special character to provide full extensibility allowing HTML to 
be entered.

However, IMO the distinction between BLOCK elements & INLINE elements 
should maybe respected. So, maybe, one glyph for blocks (e.g. §) and 
another for inline?

BTW, one thing not commented yet is that it could be used in cases where 
you need to start a line with a WikiText glyph as straight text, for 
instance ...

# extant Wikitext OL/LI element rendered starting "1" 

§ # -- this element's content starts with literal "#"

I will comment separately on the issue of the "scope" (block/inline/\n v. 
\n\n). I'm aware there are potentially quite complex things going on PMario 
would have to deal with.

But, overall, Tony, I thought your basic "markup" approach good for usage. 

Best wishes
TT

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/b1961e2d-3101-44ba-a1fa-4cc77dafd06do%40googlegroups.com.

Reply via email to