Crate colorblast
source ·Expand description
Render syntax highlighted code into HTML or ANSI codes for the terminal.
Re-exports
pub use crate::lexers::Lexer;
Modules
Structs
Enums
- Generic
Token
with variants useful for applying syntax highlighting toTokenSpan
s.
Traits
Functions
- Prints all styled
tokens
to the standard output. - Stylizes all
tokens
and prints them to the standard output. - Same as
print_styled_tokens()
+println!()
after. - Same as
print_stylized_tokens()
+println!()
after.