From 3d4213001ee70863c997bb547460e18725e624af Mon Sep 17 00:00:00 2001 From: noa Date: Tue, 17 Sep 2024 09:38:00 +0800 Subject: Add markdown link configuration --- emacs/init.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/emacs/init.el b/emacs/init.el index 629833d..d75a027 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -475,6 +475,14 @@ (add-to-list 'auto-mode-alist '("\\.\\(?:md\\|markdown\\|mkd\\|mdown\\|mkdn\\|mdwn\\)\\'" . markdown-mode)) +;; When inserting a link, only prompt for url and link text +(setopt markdown-disable-tooltip-prompt t) + +;; I don't believe markdown should have html +(setopt markdown-enable-html nil) + +(setopt markdown-hide-urls t) +(setopt markdown-url-compose-char ?🔗) ;; Autocorrection -- cgit 1.4.1-2-gfad0