On Thursday, June 29, 2017 at 8:33:02 PM UTC+2, Mat wrote:
>
> Correcting an insinuation I made before:
>
> I just discovered the /* ... */ syntax is not only for CSS but also for 
> multiline js comments. (Yes, I realize I'm the only one who didn't know). 
> So that would be terrific.
>

Yea. .. In TWclassic there where 3 types of comment syntax: 


   -  {{{ comment }}} ... for wikitext


   -  /*{{{*/  .... for rendering comments in valid CSS tiddlers
      - /* */ for making it invisible for the browsers CSS parser. So the 
      whole thing is valid CSS
      - {{{ .. to make it visible for the TW syntax parser and render the 
      stuff as comment. 
      

   - <!--{{{-->  .... for rendering TW comments in valid HTML text
      - mechanism is similar to CSS
   
The problem with all those comments are. They are producing some "output", 
so they need work to be done, just to make them invisible again for the 
system where it's used. 

So the 2 way "compilation" step, that I did suggest, may avoid this 
problem, but would introduce quite some complexity ... 

-m

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/67771eee-c515-452e-ac08-8e77af76fa5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to