8000 GitHub - mxcop/mdbook-syntect: A preprocessor for mdBook, rendering codeblocks to HTML at build time.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

mxcop/mdbook-syntect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MDBook Syntect

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 :)

Usage

book.toml

# add this line to your book.toml
[preprocessor.syntect]
custom-theme = "assets/<your-theme>.tmTheme"

© 2023 Max, All rights reserved.

About

A preprocessor for mdBook, rendering codeblocks to HTML at build time.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0