Fix CMake syntax highlighting in the C++ tutorial

Use a version of highlight.js from our website that has CMake support
built-in, the one that comes with mdbook doesn't.
This commit is contained in:
Simon Hausmann 2021-06-17 13:47:46 +02:00
parent 59ebc94e71
commit cc8da495ae
6 changed files with 20 additions and 61 deletions

View file

@ -6,7 +6,7 @@ src = "src"
title = "SixtyFPS Memory Game Tutorial (Rust)"
[output.html]
additional-js = ["../shared/highlight_60.js"]
theme = "../theme"
[output.linkcheck] # enable the "mdbook-linkcheck" renderer
optional = true