From 7f294de4775af2fa458bf0e43fb7533d635a917e Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Mon, 31 Oct 2022 19:44:23 +0800 Subject: Support wiki link in markdown --- .emacs.d/lisp/init-markdown.el | 5 +++++ 1 file changed, 5 insertions(+) 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 "") '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) -- cgit v1.2.3