Code syntax highlighting in 8.1?
Code syntax highlighting in 8.1?
I'm interested in using MI8 as a code repository. Syntax highlighting seems to be a new feature but I can't get it to work. There appears to be a "Code" style, but when I apply it, it just slightly reformats my already formatted code. I've tried HTML, Javascript, and Python. Can't find any documentation on it either. Any thoughts?
To get a proper syntax highlighting you need to insert the code via Insert > Code Snippet. You can choose the language for the code snippet so it will be rendered properly.
Thanks! That works.