From 9c75a696965fa4183206725fc1d11f5aa830d4ad Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 10 Mar 2024 00:38:13 -0500 Subject: [PATCH] tweak(markdown): disable wiki links & math highlights by default These two features are relatively expensive and shouldn't be enabled as a global default. --- modules/lang/markdown/config.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/lang/markdown/config.el b/modules/lang/markdown/config.el index 9461635c9..cad315f38 100644 --- a/modules/lang/markdown/config.el +++ b/modules/lang/markdown/config.el @@ -18,9 +18,7 @@ capture, the end position, and the output buffer.") (use-package! markdown-mode :mode ("/README\\(?:\\.md\\)?\\'" . gfm-mode) :init - (setq markdown-enable-math t ; syntax highlighting for latex fragments - markdown-enable-wiki-links t - markdown-italic-underscore t + (setq markdown-italic-underscore t markdown-asymmetric-header t markdown-gfm-additional-languages '("sh") markdown-make-gfm-checkboxes-buttons t