summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-06-28 03:16:17 +0100
committerjao <jao@gnu.org>2022-06-28 03:16:17 +0100
commit2d53a9d3da2202e31cac31c6002013540e377d7f (patch)
tree5ef0b66d09441c9c9d7dab8ecd70f1990a72a719
parentf86fb2f2adcdbd9719f16c4a3d91641d09deee25 (diff)
downloadelibs-2d53a9d3da2202e31cac31c6002013540e377d7f.tar.gz
elibs-2d53a9d3da2202e31cac31c6002013540e377d7f.tar.bz2
a couple of markdown-mode tweaks
-rw-r--r--init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/init.el b/init.el
index 7be2f96..34c6379 100644
--- a/init.el
+++ b/init.el
@@ -1275,6 +1275,7 @@
(use-package markdown-mode
:ensure t
:init (setq markdown-command '("pandoc" "--from=markdown" "--to=html5")
+ markdown-asymmetric-header t
markdown-enable-wiki-links t
markdown-wiki-link-fontify-missing t
markdown-enable-math nil ;; toggle with M-x markdown-toggle-math
@@ -1283,10 +1284,11 @@
markdown-hide-urls t
markdown-hide-markup nil
markdown-fontify-code-blocks-natively t
+ markdown-fontify-whole-heading-line t
markdown-unordered-list-item-prefix t)
:hook (markdown-mode . outline-minor-mode)
:config
- (dolist (u '("doc" "message"))
+ (dolist (u '("doc" "message" "notmuch"))
(add-to-list 'markdown-uri-types u)))
;; used by markdown mode to edit code blocks