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
18
init.el
18
init.el
@ -615,14 +615,18 @@ split horizontally again, but this extra work should not matter much."
|
|||||||
:ensure t
|
:ensure t
|
||||||
:pin "melpa-stable"
|
:pin "melpa-stable"
|
||||||
:commands (markdown-mode)
|
:commands (markdown-mode)
|
||||||
:init (progn
|
:init (setopt markdown-use-pandoc-style-yaml-metadata t
|
||||||
(setq markdown-use-pandoc-style-yaml-metadata t
|
|
||||||
markdown-command "pandoc --standalone --toc"
|
markdown-command "pandoc --standalone --toc"
|
||||||
markdown-fontify-code-blocks-natively t)
|
markdown-fontify-code-blocks-natively t
|
||||||
(fset 'markdown-output-standalone-p #'(lambda () t))
|
markdown-hide-urls t
|
||||||
(add-hook 'markdown-mode-hook #'turn-off-auto-fill)
|
markdown-asymmetric-header t
|
||||||
(add-hook 'markdown-mode-hook #'turn-on-visual-line-mode)
|
markdown-list-indent-width 2
|
||||||
(add-hook 'markdown-mode-hook #'turn-on-visual-fill-column-mode)))
|
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)
|
||||||
|
(add-hook 'markdown-mode-hook #'turn-on-visual-fill-column-mode)))
|
||||||
|
|
||||||
(use-package multiple-cursors
|
(use-package multiple-cursors
|
||||||
:pin "melpa-stable"
|
:pin "melpa-stable"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user