rust-lang / mdBook

Create book from markdown files. Like Gitbook but implemented in Rust
https://rust-lang.github.io/mdBook/
Mozilla Public License 2.0
18.13k stars 1.63k forks source link

Add ABNF syntax highlighting #1344

Open camelid opened 4 years ago

camelid commented 4 years ago

It doesn't seem to work with the current version of mdBook, but it's supported in Highlight.js. It would be nice to have for language specs.

camelid commented 4 years ago

Also, is it documented what highlight languages are supported? I couldn't find that in the mdBook guide.

camelid commented 4 years ago

Also, is it documented what highlight languages are supported? I couldn't find that in the mdBook guide.

Opened #1345.

camelid commented 4 years ago

(ABNF stands for "Augmented Backus–Naur form")