Make markdown-mode more comfortable for writing

This commit is contained in:
Andreas Zweili 2023-11-28 17:14:03 +01:00
parent cbb0bc9023
commit ee5bda7fd9
1 changed files with 6 additions and 0 deletions

View File

@ -18,6 +18,12 @@
(set (make-local-variable
'yas-indent-line) 'fixed)))
:config
(add-hook 'markdown-mode-hook
(defun az-markdown-editing ()
"My settings for message composition."
(setq whitespace-line-column 500)
(turn-off-auto-fill)
(flyspell-mode)))
(defun insert-file-name-as-wikilink (filename &optional args)
(interactive "*fInsert file name: \nP")
(insert (concat "[[" (file-name-sans-extension (file-relative-name