1 unstable release
0.0.0 | Dec 1, 2022 |
---|
110KB
337 lines
Dye-ware Highlighter
Add additional information to your code spans.
fn main() {
use code_view::ColorView;
let mut view = ColorView::from("public static class G {}");
view.dye_offset(0, 6, "keyword");
view.dye_offset(7, 13, "keyword");
}
Dependencies
~3.5–5.5MB
~101K SLoC