WordPress Julia Syntax Highlighting

By: Christopher Rackauckas

Re-posted from: http://www.stochasticlifestyle.com/wordpress-julia-syntax-highlighting/

using Julia
print("Test for Julia")
A = [0 1 ; 0 1];

Syntax highlighting in Julia exists? Yes, you can make it work even though no plugins currently support it. The way I was able to get it to work was to use the WP-GeSHi-Highlight WordPress plugin which uses GeSHi to perform the syntax highlighting. Sure enough, an unofficial Julia syntax file for GeSHi is hosted on GitHub. I manually plopped this file into the GeSHi folder in my WordPress install, used the command lang=”julia” and you can see at the top of this page that it worked!

The post WordPress Julia Syntax Highlighting appeared first on Stochastic Lifestyle.