Generate Syntax Highlighting CSS For Classed Based Output Of The syntect Crate In Rust
rust
```cargo
= "5.2.0"
```
use ThemeSet;
use ClassStyle;
use css_for_theme_with_class_style;
syntect
I like using classes instead of inline styles 1 when doing syntax highlighting use syntect 2 . This is the code I use to generate the style sheet that goes along with the highlighted code :
-
base16 - ocean.dark
-
base16 - eighties.dark
-
base16 - mocha.dark
-
base16 - ocean.light
-
InspiredGitHub
-
Solarized (dark)
-
Solarized (light)