Crate highlighter

Source
Expand description

An extendable syntax highlighter written in Rust.

Re-exports§

pub use highlighter_core as core;
pub use highlighter_languages as languages;

Structs§

Brainheck
Rust language extension for Highlighter.
HighlighterTargetHtml
An HTML target for Highlighter.
Token
A token in a token context.

Functions§

highlight
Highlights the provided code block.
highlight_language
Highlights a language extended from the highlighter-languages crate.
language
Returns the language with the specified name, if any.