NUbook has syntax highlighting for the languages listed here: https://github.com/FormidableLabs/prism-react-renderer/blob/v1.2.1/src/vendor/prism/includeLangs.js, as well as Docker and CMake:
|
require('prismjs/components/prism-docker') |
|
// eslint-disable-next-line no-undef |
|
require('prismjs/components/prism-cmake') |
This can be added to the Syntax Highlighted Code Blocks section on the NUbook page. Ideally list only the languages that are relevant to NUbots.
NUbook has syntax highlighting for the languages listed here: https://github.com/FormidableLabs/prism-react-renderer/blob/v1.2.1/src/vendor/prism/includeLangs.js, as well as Docker and CMake:
NUbook/src/components/markdown/pre-code.jsx
Lines 11 to 13 in 91b4267
This can be added to the Syntax Highlighted Code Blocks section on the NUbook page. Ideally list only the languages that are relevant to NUbots.