aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-10-31 19:44:23 +0800
committerGuangxiong Lin <[email protected]>2022-10-31 19:44:23 +0800
commit7f294de4775af2fa458bf0e43fb7533d635a917e (patch)
treec616b9b18d680d3b089e55d6bc88da808222f2b2
parent003747e45eea620a23c5b43bf7370c6c7c222559 (diff)
downloaddotfiles-7f294de4775af2fa458bf0e43fb7533d635a917e.tar.gz
dotfiles-7f294de4775af2fa458bf0e43fb7533d635a917e.tar.bz2
dotfiles-7f294de4775af2fa458bf0e43fb7533d635a917e.zip
Support wiki link in markdown
-rw-r--r--.emacs.d/lisp/init-markdown.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-markdown.el b/.emacs.d/lisp/init-markdown.el
index 0c5ecc6..a2bedfc 100644
--- a/.emacs.d/lisp/init-markdown.el
+++ b/.emacs.d/lisp/init-markdown.el
@@ -7,6 +7,11 @@
(evil-define-key 'normal markdown-mode-map
(kbd "<RET>") 'markdown-follow-link-at-point))
+(setq markdown-enable-wiki-links t
+ markdown-wiki-link-search-type '(project)
+ markdown-wiki-link-alias-first nil
+ markdown-enable-math t)
+
(setq markdown-command '("pandoc" "--from=markdown" "--to=html5"))
(provide 'init-markdown)