I’ve been doing this for some time now and was amazed how easily it was to add perfectly well syntax highlighted code into my notes by copy/paste from Joplin.
It stopped (I think in 2.1.42). Now only the <code> and <pre> tags are preserved and all those nice <span> tags are gone.
I’d really like to have this behaviour back in the app (as an option?).
Thanks a ton. That’s the change I oversaw so I’d like to change the topic title accordingly (but I can’t).
Nonetheless I’d like to question this approach as I really do like my colors in nightmode as well . Many websites offer a nightmode (or darkmode) with plenty of colors as do code editors with syntax highlighting.
At least make it an option. Shall I open a request on GitHub for it?