diff options
author | jao <jao@gnu.org> | 2022-06-27 19:34:54 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-06-27 19:34:54 +0100 |
commit | 4189a3e1ef7108290fed48a7248c2ca5ed75209b (patch) | |
tree | 268341969d67fb4fda095c2e1b4c0838b7dc52de | |
parent | 2cc170f23a8e50d637a4513a2e0cdde91491d080 (diff) | |
download | elibs-4189a3e1ef7108290fed48a7248c2ca5ed75209b.tar.gz elibs-4189a3e1ef7108290fed48a7248c2ca5ed75209b.tar.bz2 |
markdown-mode configuration
-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 |