From a75fb322e144a289ead5bc02f27e86fb7d90cef1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Wed, 1 May 2024 17:26:22 +0200 Subject: [PATCH] Home Gen215 @ 2024-05-01-17:26 --- home/jonas/doom.nix | 1 + home/jonas/static/doom-config/config.el | 8 +++----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/home/jonas/doom.nix b/home/jonas/doom.nix index cd3eee1..09029da 100644 --- a/home/jonas/doom.nix +++ b/home/jonas/doom.nix @@ -23,6 +23,7 @@ libtool mlocate nodejs + pandoc python311Packages.grip zstd ]; diff --git a/home/jonas/static/doom-config/config.el b/home/jonas/static/doom-config/config.el index 934d7d6..731f012 100644 --- a/home/jonas/static/doom-config/config.el +++ b/home/jonas/static/doom-config/config.el @@ -103,8 +103,6 @@ (setq undo-tree-history-directory-alist '(("." . "~/.cache/doom/undo")))) (after! markdown - (setq markdown-split-window-direction 'right)) - -(add-hook! 'markdown-mode-hook - (map! :localleader - :desc "Live Preview" "p" #'markdown-live-preview-mode)) + (setq markdown-split-window-direction 'right) + (setq markdown-command "pandoc -t html5 -f markdown_mmd --self-contained --mathjax --quiet --highlight-style=zenburn") + (setq markdown-enable-math t))