Natively fontify code blocks in Markdown files
Nice!
This commit is contained in:
parent
dbda1928ce
commit
f54c39fe52
3
init.el
3
init.el
@ -2867,7 +2867,8 @@ eventuelly be set to nil, however)."
|
|||||||
:commands (markdown-mode)
|
:commands (markdown-mode)
|
||||||
:init (progn
|
:init (progn
|
||||||
(setq markdown-use-pandoc-style-yaml-metadata t
|
(setq markdown-use-pandoc-style-yaml-metadata t
|
||||||
markdown-command "pandoc --standalone")
|
markdown-command "pandoc --standalone"
|
||||||
|
markdown-fontify-code-blocks-natively t)
|
||||||
(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-off-auto-fill)
|
||||||
(add-hook 'markdown-mode-hook #'turn-on-visual-line-mode)))
|
(add-hook 'markdown-mode-hook #'turn-on-visual-line-mode)))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user