Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document list of languages with syntax highlighting in NUbook #236

Open
JosephusPaye opened this issue Jul 19, 2022 · 0 comments
Open

Document list of languages with syntax highlighting in NUbook #236

JosephusPaye opened this issue Jul 19, 2022 · 0 comments

Comments

@JosephusPaye
Copy link
Member

JosephusPaye commented Jul 19, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant