aboutsummaryrefslogtreecommitdiff
path: root/code/src/syntax_highlight/mod.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2022-09-26 15:16:05 +0200
committermetamuffin <metamuffin@disroot.org>2022-09-26 15:16:05 +0200
commita5ee9b1edd25f698813ebdc52404ec19fa479718 (patch)
tree7d428ca9b2b0059e39f78bc096bf57b94f1d8a3d /code/src/syntax_highlight/mod.rs
parent15d78464ba9a717a71e1dc47a4101c8b13ec6581 (diff)
downloadmetamuffin-blog-a5ee9b1edd25f698813ebdc52404ec19fa479718.tar
metamuffin-blog-a5ee9b1edd25f698813ebdc52404ec19fa479718.tar.bz2
metamuffin-blog-a5ee9b1edd25f698813ebdc52404ec19fa479718.tar.zst
new renderer
Diffstat (limited to 'code/src/syntax_highlight/mod.rs')
-rw-r--r--code/src/syntax_highlight/mod.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/code/src/syntax_highlight/mod.rs b/code/src/syntax_highlight/mod.rs
index 86b689a..a766065 100644
--- a/code/src/syntax_highlight/mod.rs
+++ b/code/src/syntax_highlight/mod.rs
@@ -1,10 +1,8 @@
-
-use crate::markdown::render::escape;
use lazy_static::lazy_static;
use syntect::easy::HighlightLines;
use syntect::highlighting::{Style, ThemeSet};
use syntect::parsing::SyntaxSet;
-use syntect::util::{as_24_bit_terminal_escaped, LinesWithEndings};
+use syntect::util::LinesWithEndings;
lazy_static! {
static ref PS: SyntaxSet = SyntaxSet::load_defaults_newlines();