Update configuration for markdown-mode
Based on the excellent documentation at https://jblevins.org/projects/markdown-mode/.
This commit is contained in:
parent
169a0b4608
commit
77c79127f3
10
init.el
10
init.el
@ -615,10 +615,14 @@ split horizontally again, but this extra work should not matter much."
|
||||
:ensure t
|
||||
:pin "melpa-stable"
|
||||
:commands (markdown-mode)
|
||||
:init (progn
|
||||
(setq markdown-use-pandoc-style-yaml-metadata t
|
||||
:init (setopt markdown-use-pandoc-style-yaml-metadata t
|
||||
markdown-command "pandoc --standalone --toc"
|
||||
markdown-fontify-code-blocks-natively t)
|
||||
markdown-fontify-code-blocks-natively t
|
||||
markdown-hide-urls t
|
||||
markdown-asymmetric-header t
|
||||
markdown-list-indent-width 2
|
||||
markdown-special-ctrl-a/e t)
|
||||
:config (progn
|
||||
(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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user