diff options
author | noa | 2024-09-17 09:38:00 +0800 |
---|---|---|
committer | noa | 2024-09-17 09:38:00 +0800 |
commit | 3d4213001ee70863c997bb547460e18725e624af (patch) | |
tree | bb4d4e125b2dc44b65cc11da87151459468322f5 /emacs/init.el | |
parent | 7c088cc3dd93f27fdafa24df14f0033b9085a45a (diff) |
Add markdown link configuration
Diffstat (limited to 'emacs/init.el')
-rw-r--r-- | emacs/init.el | 8 |
1 files changed, 8 insertions, 0 deletions
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 |