Ciao Mohammad & Mark S.

Just FYI I been recently very struck by how brilliant and intelligent the 
parsing is in TW!
That very cleverness occasionally causes complexities as there is a lot 
more going on that just using HTML wrappers. 
 
TW, natively, lacks simple <pre> markup which is actually often very 
needed. 
In some experiments with PMario I used  his excellent Custom Markup 
<https://wikilabs.github.io/editions/custom-markup/#Basics:Basics%20Advanced%20Reference>
 
(beta) to show , for instance, what a Windows console looks like 
<https://tidbits.wiki/lab/cm/cm-tech.html#%22Console%22%20Block%2C%20With%20Dynamic%20Parameter%20Settings>...
 
using <pre> in a fairly standard way via novel markup.

Best wishes
TT

Mohammad wrote:

>  You are right! but the issue is I cannot do anything inside code block 
> while the original Highlight.js allow this!
>   Anyway, the Tiddlywiki Codeblock is you said does more than I expect 
> (using a bare <pre><code>)
>
 

>  'Mark S.' via TiddlyWiki <[email protected]> wrote:
>
>> When you inspect it, apparently the codeblock widget does much more than 
>> simply wrap things it pre/code -- it also converts angle brackets and other 
>> special characters into their HTML entities. That's a feature (I think). If 
>> you were displaying HTML code, you wouldn't want everything to render, 
>> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/138c942d-8edd-44df-81e9-dbdc1fdc5591n%40googlegroups.com.

Reply via email to