summaryrefslogtreecommitdiff
path: root/spec/public/highlight
Commit message (Collapse)AuthorAgeFilesLines
* spec: add syntax highlighting for scala code with highlight.jsAntoine Gourlay2014-09-172-0/+25
This adds syntax highlighting for all code scala blocks. Highlighting is done after MathJax is done rendering so that latex can be used in code blocks (and it currently *is* used). Sadly Scala isn't common enough to be bundled in the highlight.min.js available from CDNs, so we commit a local version of version 8.2 with only scala bundled in it. The only other language used (ebnf) isn't supported by highlight.js.