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?

On Monday, April 26, 2021 at 8:40:54 AM UTC-7 Mohammad wrote:

> Open https://tiddlywiki.com/prerelease
> create a new tiddler
> put the below wikitex in that
>
> <$codeblock language=css code="""
> .mycls{color:red;}
> <span>This </span>
> """/>
>
> <pre><code>
> Hello Tiddlywiki
> <span>This </span>
> </code></pre>
>
>
> check the result. Tiddlywiki does not allow html code like span tag inside 
> the codeblock but the standard  <pre><code> allows this!
> What is wrong here?
>
> Use Case: standout a specific line of code!
>
>
>
>
>
>
>
> Best wishes
> Mohammad
>

-- 
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/d2e5f16d-4db0-4bd8-8717-08921f8170c0n%40googlegroups.com.

Reply via email to