Crates.io | code-span |
lib.rs | code-span |
version | 0.2.0 |
source | src |
created_at | 2022-11-30 12:54:08.834245 |
updated_at | 2022-12-01 03:53:19.937816 |
description | Add additional infomation to code character |
homepage | |
repository | https://github.com/oovm/dyeware |
max_upload_size | |
id | 726149 |
size | 8,803 |
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"));
}