Disclaimer: this extension is not from the creators of syntect!
A basic mdbook
extension for highlighting codeblocks at "compile" time.
syntect
is used to do all the syntax highlighting.
This project currently just a proof of concept, don't expect too much!
However, feel free to contribute :)
book.toml
# add this line to your book.toml
[preprocessor.syntect]
custom-theme = "assets/<your-theme>.tmTheme"
© 2023 Max, All rights reserved.