I ended up installing Highlight.js from here:
https://tiddlywiki.com/plugins/tiddlywiki/highlight/
what I didn't realize for a while was that I needed to define which 
language I'm using in my code blocks by typing the abbreviation for it next 
to the  code block symbols, in my case: ```cs

It works, but I was expecting a little bit more color... Oh well, better 
than the standard text it was before!

On Saturday, April 10, 2021 at 12:02:21 AM UTC-4 Gary Zimmer wrote:

> If it matters, the language I primarily write in is C# so I'd like that to 
> work, not JS or CSS
>
> On Saturday, April 10, 2021 at 12:01:21 AM UTC-4 Gary Zimmer wrote:
>
>> I've managed to get CodeMirror working fine on my TW one page install 
>> hosted on github, but I'd like to get colorizing of my code work as well so 
>> it's not so painful to look at a large snippet of code. I can't seem to get 
>> any success out of just drag and dropping the JS files for the 
>> runmode.js and the colorize.jp from here 
>> <https://codemirror.net/doc/manual.html> and TW doesn't seem to 
>> recognize the JS files since when I import them the title is just 
>> "untitled". Has anyone gotten colorized code snippets to work with 
>> CodeMirror and TW?
>> Thanks
>>
>

-- 
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/64e54c1e-4473-4bf0-a0a8-f99691cc5583n%40googlegroups.com.

Reply via email to