Skip to main content

tokenize_code_line

Function tokenize_code_line 

Source
pub fn tokenize_code_line(line: &str, language: &str) -> Vec<CodeSpan>
Expand description

Tokenizes a single line of source code into colored spans (Rust / TS / JS / JSON / SQL / CSS).