diff --git a/src/markdown/mod.rs b/src/markdown/mod.rs index 1fbd676..2857572 100644 --- a/src/markdown/mod.rs +++ b/src/markdown/mod.rs @@ -85,8 +85,9 @@ impl MDComrakSettings<'_> { options.extension.footnotes = true; let mut plugins = ComrakPlugins::default(); - // plugins.render.codefence_syntax_highlighter = Some(&*SYNTECT_ADAPTER); - plugins.render.codefence_syntax_highlighter = Some(&*TESTERTHANG); + plugins.render.codefence_syntax_highlighter = Some(&*SYNTECT_ADAPTER); + // NOTE: Disabling treesitter syntax hls until I can figure out Nix integration + // plugins.render.codefence_syntax_highlighter = Some(&*TESTERTHANG); plugins.render.heading_adapter = Some(&HeaderLinkAdapter); Ok(MDComrakSettings { options, plugins })