This is a great widget/plugin I have been dreaming of for so long, so thank you so much for sharing it.
The only problem is that it took me so long to figure out how to install it.
You also need to change the type of the code block to the language you want to take effect, which is mentioned in the readme (to be fair I missed it) but contradictingly in the video it shows to use plaintext.
Which took me quite a while to figure it out unfortunately and for a while I thought it was broken or something.
It will be a good idea to put the replies in #3 to readme (or at least some "idiot-proof" guide with pictures) plus update the video to show it works for non-plaintext code block instead.
I can imagine these kinds of things are not too apparent to non technical Trilium users, or at least for idiots like me who sometimes misread or skip a few words in the readme.
Finally, it seems like the code block background color is not being applied so updating the
.ck-content pre{background:<whatever theme background color is>}
will be a good touch
This is a great widget/plugin I have been dreaming of for so long, so thank you so much for sharing it.
The only problem is that it took me so long to figure out how to install it.
You also need to change the type of the code block to the language you want to take effect, which is mentioned in the readme (to be fair I missed it) but contradictingly in the video it shows to use plaintext.
Which took me quite a while to figure it out unfortunately and for a while I thought it was broken or something.
It will be a good idea to put the replies in #3 to readme (or at least some "idiot-proof" guide with pictures) plus update the video to show it works for non-plaintext code block instead.
I can imagine these kinds of things are not too apparent to non technical Trilium users, or at least for idiots like me who sometimes misread or skip a few words in the readme.
Finally, it seems like the code block background color is not being applied so updating the
.ck-content pre{background:<whatever theme background color is>}will be a good touch