Crates.io | highlighting |
lib.rs | highlighting |
version | 0.1.2 |
source | src |
created_at | 2022-10-11 10:08:29.068919 |
updated_at | 2022-10-11 11:33:41.280631 |
description | tree-sitter syntax highlighting |
homepage | https://github.com/viz-rs/highlighting |
repository | |
max_upload_size | |
id | 685188 |
size | 14,821 |
Render to HTML
Add theme is very easy
[
"annotation",
"attribute",
"boolean",
"character",
"character.special",
"comment",
"conditional",
"constant",
"constant.builtin",
"constant.macro",
"constructor",
"debug",
"define",
"error",
"exception",
"field",
"float",
"function",
"function.call",
"function.builtin",
"function.macro",
"include",
"keyword",
"keyword.function",
"keyword.operator",
"keyword.return",
"label",
"method",
"method.call",
"namespace",
"none",
"number",
"operator",
"parameter",
"parameter.reference",
"preproc",
"property",
"punctuation.delimiter",
"punctuation.bracket",
"punctuation.special",
"repeat",
"storageclass",
"string",
"string.regex",
"string.escape",
"string.special",
"symbol",
"tag",
"tag.attribute",
"tag.delimiter",
"text",
"text.strong",
"text.emphasis",
"text.underline",
"text.strike",
"text.title",
"text.literal",
"text.uri",
"text.math",
"text.reference",
"text.environment",
"text.environment.name",
"text.note",
"text.warning",
"text.danger",
"todo",
"type",
"type.builtin",
"type.qualifier",
"type.definition",
"variable",
"variable.builtin",
]