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))