highlighting

Crates.iohighlighting
lib.rshighlighting
version0.1.2
sourcesrc
created_at2022-10-11 10:08:29.068919
updated_at2022-10-11 11:33:41.280631
descriptiontree-sitter syntax highlighting
homepagehttps://github.com/viz-rs/highlighting
repository
max_upload_size
id685188
size14,821
Fangdun Tsai (fundon)

documentation

https://docs.rs/highlighting

README

tree-sitter syntax highlighting

  • Render to HTML

  • Add theme is very easy

Names

[
    "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",
]

Queries

Commit count: 0

cargo fmt