Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 287 Bytes

Readme.md

File metadata and controls

13 lines (11 loc) · 287 Bytes

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");
}