diff options
-rw-r--r-- | init.el | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -1273,6 +1273,24 @@ ;;;; markdown (use-package markdown-mode + :ensure t + :init (setq markdown-command '("pandoc" "--from=markdown" "--to=html5") + markdown-enable-wiki-links t + markdown-wiki-link-fontify-missing t + markdown-enable-math nil ;; toggle with M-x markdown-toggle-math + markdown-link-space-sub-char "-" + markdown-gfm-additional-languages '("whizzml" "flatline") + markdown-hide-urls t + markdown-hide-markup nil + markdown-fontify-code-blocks-natively t + markdown-unordered-list-item-prefix t) + :hook (markdown-mode . outline-minor-mode) + :config + (dolist (u '("doc" "message")) + (add-to-list 'markdown-uri-types u))) + +;; used by markdown mode to edit code blocks +(use-package edit-indirect :ensure t) (use-package markdown-toc |