On Monday, October 5, 2020 at 2:54:08 PM UTC+2, TonyM wrote:

This makes me ask if one of out special characters could simply default to 
> the element that follows the special character
>
> eg
> 'aside Content is an aside
>
>
>    - That is nominate one of the special character to just automatically 
>    treat what follows as this does \customise tick=aside _element=aside
>
> This would be possible if we would check against an HTML list of "names". 
which is already done, eg: _element="article" will have a look at: 
https://github.com/Jermolene/TiddlyWiki5/blob/9716c326952c16f63345a135e73cf36670dca0d8/core/modules/config.js#L37

But we would probably need to update this list, since "Details" isn't 
listed there. 
 

>
>    - So in fact we do not need to define any \customise tick=elementname 
>    _element=elementname
>
> We do for "names" that are not html tags.
 

>
>    - This should be achievable programaticaly so any element name can be 
>    used including arbitrary html elements.
>
> including "arbitrary" tags is not possible, since this would limit the 
names to html elements only. .. That's not what we want. 

-mario 

-- 
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 tiddlywikidev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/855439cc-5204-4763-90e7-edd986fbb789o%40googlegroups.com.

Reply via email to