code-span

Crates.iocode-span
lib.rscode-span
version0.2.0
sourcesrc
created_at2022-11-30 12:54:08.834245
updated_at2022-12-01 03:53:19.937816
descriptionAdd additional infomation to code character
homepage
repositoryhttps://github.com/oovm/dyeware
max_upload_size
id726149
size8,803
SasakiSaki (oovm)

documentation

https://docs.rs/code-span

README

Code Span

Add additional information to your code spans.

fn main() {
    use code_span::CodeView;
    let mut view = CodeView::blank("public static class MyClass {}");
    view.mark_offset(0, 6, Some("keyword"));
    view.mark_offset(7, 13, Some("keyword"));
}
Commit count: 22

cargo fmt