WordPress Julia Syntax Highlighting


January 19 2016 in Julia | Tags: , , | Author: Christopher Rackauckas

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!

One thought on “WordPress Julia Syntax Highlighting

  1. Thanks for writing this post!

    Support for Julia is now part of the WP-GeSHi-Highlight 1.3.1 release, so you can safely upgrade.

    Cheers

    Jan-Philip Gehrcke


Write a Reply or Comment

Your email address will not be published. Required fields are marked *


*

This site uses Akismet to reduce spam. Learn how your comment data is processed.