refactor: disable treesitter syntax highlights
This commit is contained in:
parent
6b3f7676b5
commit
bf5ff28fe4
@ -85,8 +85,9 @@ impl MDComrakSettings<'_> {
|
|||||||
options.extension.footnotes = true;
|
options.extension.footnotes = true;
|
||||||
|
|
||||||
let mut plugins = ComrakPlugins::default();
|
let mut plugins = ComrakPlugins::default();
|
||||||
// plugins.render.codefence_syntax_highlighter = Some(&*SYNTECT_ADAPTER);
|
plugins.render.codefence_syntax_highlighter = Some(&*SYNTECT_ADAPTER);
|
||||||
plugins.render.codefence_syntax_highlighter = Some(&*TESTERTHANG);
|
// 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);
|
plugins.render.heading_adapter = Some(&HeaderLinkAdapter);
|
||||||
|
|
||||||
Ok(MDComrakSettings { options, plugins })
|
Ok(MDComrakSettings { options, plugins })
|
||||||
|
Loading…
Reference in New Issue
Block a user