On Tue, Apr 27, 2021 at 9:46 AM TiddlyTweeter <[email protected]>
wrote:

> 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.
>

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!




>
>
> 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.
>

WOW, that is amazing! Emulating the console output!



>
> 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
> <https://groups.google.com/d/msgid/tiddlywiki/138c942d-8edd-44df-81e9-dbdc1fdc5591n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAV1gMDZg9q8_z5LwjVRVHMLHz47MGAvhVi45Syy_x8iRWhAzA%40mail.gmail.com.

Reply via email to