Code syntax highlighting in 8.1?

Discuss MyInfo and get help here
Post Reply
zaaman41
Posts: 11
Joined: Mon Apr 04, 2011 2:51 am

Code syntax highlighting in 8.1?

Post by zaaman41 »

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?
Petko
MyInfo Support
Posts: 3256
Joined: Sun Jul 25, 2004 4:33 pm
Contact:

Post by Petko »

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.
zaaman41
Posts: 11
Joined: Mon Apr 04, 2011 2:51 am

Post by zaaman41 »

Thanks! That works.
Post Reply