add ox-hugo to org

This commit is contained in:
Lorenzo Giuliani 2019-08-29 12:02:12 +02:00
parent 3f7e0fd103
commit f6b79d40a2
2 changed files with 13 additions and 2 deletions

View file

@ -392,7 +392,12 @@ file isn't in `org-directory'."
(setq org-pandoc-options
'((standalone . t)
(mathjax . t)
(variable . "revealjs-url=https://cdn.jsdelivr.net/npm/reveal.js@3/")))))
(variable . "revealjs-url=https://cdn.jsdelivr.net/npm/reveal.js@3/"))))
(when (featurep! +hugo)
(use-package! ox-hugo
:after ox)))
(defun +org-init-habit-h ()
@ -561,7 +566,10 @@ between the two."
(:prefix ("b" . "from beamer")
:desc "to latex" "l" #'org-beamer-export-to-latex
:desc "to latex & open" "L" #'org-beamer-export-as-latex
:desc "as pdf" "p" #'org-beamer-export-to-pdf))
:desc "as pdf" "p" #'org-beamer-export-to-pdf)
(:when (featurep! +hugo)
:desc "to hugo" "h" #'org-hugo-export-to-md
:desc "to hugo & open" "H" #'org-hugo-export-as-md))
(:prefix ("g" . "goto")
"g" #'org-goto
(:when (featurep! :completion ivy)

View file

@ -52,3 +52,6 @@
(when (featurep! +journal)
(package! org-journal))
(when (featurep! +hugo)
(package! ox-hugo))