This is an old thread but I thought I'd put here what I've been doing so the next person who finds this thread can reference it.
Basically, I found a website that formats code as syntax-highlighted HTML: http://hilite.me/. I paste my code there and then copy/paste the output into Mnemosyne and it displays the HTML perfectly. Unfortunately, there is a bug in QT that disallows copying from Mnemosyne, which is frustrating as I sometimes want to copy/paste code _from_ Mnemosyne to a text editor (I often use this for test cases) and this does not work. You can copy/paste from within edit mode in Mnemosyne but the code is wrapped in HTML so is unusable. -- You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-users+unsubscr...@googlegroups.com. To post to this group, send email to mnemosyne-proj-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/cff43264-83e9-4e8a-8020-c775e61b332c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.