Skip to main content

Module highlight

Module highlight 

Source
Expand description

Who colors a fenced block.

markdown names no highlighter. The one this crate would otherwise reach for is tree-sitter, whose C cannot be built for wasm32-unknown-unknown โ€” there is no libc to compile it against โ€” so a web build would carry a dependency it can never link. Installed once at boot like the theme palette, and read at paint.

Type Aliasesยง

Highlighter
Spans over code, in bytes. None for a language the caller cannot color.