markdown export - add customization for reflowable text

This commit is contained in:
contrapunctus 2019-07-31 00:45:24 +05:30
parent bf57c17bf4
commit fad0963c95
1 changed files with 7 additions and 1 deletions

View File

@ -9,7 +9,13 @@
:config (setq markdown-command "cmark"
markdown-css-paths '("style.css")
markdown-display-remote-images t
markdown-max-image-size '(500 . 500))
markdown-max-image-size '(500 . 500)
;; reflows text to suit different screens
markdown-xhtml-header-content
(concat "<meta name=\"viewport\" "
"content=\"width=device-width, "
"initial-scale=1.0, "
"user-scalable=yes\" />"))
(setq-default ;; markdown-hide-markup t ;; has a bug with heading cycling
markdown-hide-urls t)
:bind (:map markdown-mode-map