diff options
Diffstat (limited to 'code/src/syntax_highlight/mod.rs')
-rw-r--r-- | code/src/syntax_highlight/mod.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/code/src/syntax_highlight/mod.rs b/code/src/syntax_highlight/mod.rs index 688b010..515de28 100644 --- a/code/src/syntax_highlight/mod.rs +++ b/code/src/syntax_highlight/mod.rs @@ -14,7 +14,6 @@ pub fn syntax_highlight(lang: &str, source: &str) -> String { let mut out = String::new(); for (_c, row) in highlighting.iter().enumerate() { - eprintln!("{row:?}"); for tok in row { match tok { Token::Start(kind) => out += &format!("<span style=\"color:{}\">", theme(kind)), @@ -24,6 +23,5 @@ pub fn syntax_highlight(lang: &str, source: &str) -> String { } out += "\n" } - eprintln!("{out:?}"); out } |