How to add JavaFX to SyntaxHighlighter
I got sick and tired of my JavaFX code not having proper syntax highlighting on my blog and in my presentations, so I extended SyntaxHighlighter to do just that.
How to implement it
First, you’ll want to download SyntaxHighlighter or get the Wordpress plugin (and make a donation, it really is a cool piece of work). Next, unzip or otherwise install it. Download my shBrushJavaFX.js and copy it to <install_directory>/scripts
If you’re using the Wordpress plugin, you’ll have to edit the syntaxhighlighter.php file like so: