Include TOCs in Markdown exports by default
I usually want those. This setting can be overwritten by customizations.
This commit is contained in:
parent
f54c39fe52
commit
bc4e163ac5
2
init.el
2
init.el
@ -2867,7 +2867,7 @@ eventuelly be set to nil, however)."
|
||||
:commands (markdown-mode)
|
||||
:init (progn
|
||||
(setq markdown-use-pandoc-style-yaml-metadata t
|
||||
markdown-command "pandoc --standalone"
|
||||
markdown-command "pandoc --standalone --toc"
|
||||
markdown-fontify-code-blocks-natively t)
|
||||
(fset 'markdown-output-standalone-p #'(lambda () t))
|
||||
(add-hook 'markdown-mode-hook #'turn-off-auto-fill)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user