From 6e1916212e10e2797867ec2b38d71b004f7bcb62 Mon Sep 17 00:00:00 2001 From: Antoine Gourlay Date: Mon, 15 Sep 2014 08:46:25 +0200 Subject: spec: add syntax highlighting for scala code with highlight.js 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. --- spec/_layouts/default.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'spec/_layouts/default.yml') diff --git a/spec/_layouts/default.yml b/spec/_layouts/default.yml index c01e34d83a..f78232f461 100644 --- a/spec/_layouts/default.yml +++ b/spec/_layouts/default.yml @@ -13,15 +13,32 @@ + + -- cgit v1.2.3