From f54c39fe52e16b963ed7bbd04e2b7a11ecf5fe52 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Thu, 19 Sep 2024 15:45:45 +0200 Subject: [PATCH] Natively fontify code blocks in Markdown files Nice! --- init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index dd65a2c..3f91d18 100644 --- a/init.el +++ b/init.el @@ -2867,7 +2867,8 @@ eventuelly be set to nil, however)." :commands (markdown-mode) :init (progn (setq markdown-use-pandoc-style-yaml-metadata t - markdown-command "pandoc --standalone") + markdown-command "pandoc --standalone" + markdown-fontify-code-blocks-natively t) (fset 'markdown-output-standalone-p #'(lambda () t)) (add-hook 'markdown-mode-hook #'turn-off-auto-fill) (add-hook 'markdown-mode-hook #'turn-on-visual-line-mode)))