Use visual line breaks in markdown mode

Markdown formatted files are often displayed as HTML, where automatic
line breaks work better.
This commit is contained in:
Daniel Borchmann 2024-06-09 15:59:58 +02:00
parent 01a71c93d2
commit 03f856ce49
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625

View File

@ -2861,7 +2861,9 @@ eventuelly be set to nil, however)."
:init (progn
(setq markdown-use-pandoc-style-yaml-metadata t
markdown-command "pandoc --standalone")
(fset 'markdown-output-standalone-p #'(lambda () t))))
(fset 'markdown-output-standalone-p #'(lambda () t))
(add-hook 'markdown-mode-hook #'turn-off-auto-fill)
(add-hook 'markdown-mode-hook #'turn-on-visual-line-mode)))
(use-package plantuml-mode
:load-path "site-lisp"