Always create standalone documents from markdown files
It's confusing me that the output of pandoc is a document fragment by default, so let's instruct Emacs to generated complete, standalone documents instead.
This commit is contained in:
parent
6e23836a1d
commit
29ab4d6335
6
init.el
6
init.el
|
@ -2915,8 +2915,10 @@ With given ARG, display files in `db/important-document-path’."
|
|||
(use-package markdown-mode
|
||||
:ensure t
|
||||
:commands (markdown-mode)
|
||||
:init (setq markdown-use-pandoc-style-yaml-metadata t
|
||||
markdown-command "pandoc"))
|
||||
:init (progn
|
||||
(setq markdown-use-pandoc-style-yaml-metadata t
|
||||
markdown-command "pandoc --standalone")
|
||||
(fset 'markdown-output-standalone-p #'(lambda () t))))
|
||||
|
||||
(use-package pdf-occur
|
||||
:commands (pdf-occur-global-minor-mode))
|
||||
|
|
Loading…
Reference in New Issue