Just to confirm that the <$codeblock code="x"> widget is essentially a synonym for <pre><code><$text text="x"/></code></pre>, but with some special processing to let the highlight plugin do its work.
As TiddlyTweeter points out, if you want to display wikified text in a codeblock then one can simply use the HTML tags. Best wishes Jeremy -- Jeremy Ruston [email protected] https://jermolene.com > On 27 Apr 2021, at 09:35, TiddlyTweeter <[email protected]> wrote: > > Mohammad wrote: >> I am working on a tiny new plugin that lets you show a code using codeblock >> with line number and specified lines highlighted (stand out). >> If I could use the html inside codblock then the life was much more easier! > > FYI it is ONLY invoking the parser wia WikiText that creates the issues ... > > Using "code" direct with HTML works EXCEPT you may need to adjust the styling > cascade ... > > <code><h2>No issue (well except styles)</h2></code> > > > <Screenshot 2021-04-27 103131.jpg> > > Best wishes > TT > -- > 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/230d2027-61b5-45b8-be39-a42931b42f2fn%40googlegroups.com. > <Screenshot 2021-04-27 103131.jpg> -- 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/B3904758-5800-4093-86EE-57C2462D1391%40gmail.com.

