mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
add ox-hugo to org
This commit is contained in:
@ -392,7 +392,12 @@ file isn't in `org-directory'."
|
|||||||
(setq org-pandoc-options
|
(setq org-pandoc-options
|
||||||
'((standalone . t)
|
'((standalone . t)
|
||||||
(mathjax . 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 ()
|
(defun +org-init-habit-h ()
|
||||||
@ -561,7 +566,10 @@ between the two."
|
|||||||
(:prefix ("b" . "from beamer")
|
(:prefix ("b" . "from beamer")
|
||||||
:desc "to latex" "l" #'org-beamer-export-to-latex
|
:desc "to latex" "l" #'org-beamer-export-to-latex
|
||||||
:desc "to latex & open" "L" #'org-beamer-export-as-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")
|
(:prefix ("g" . "goto")
|
||||||
"g" #'org-goto
|
"g" #'org-goto
|
||||||
(:when (featurep! :completion ivy)
|
(:when (featurep! :completion ivy)
|
||||||
|
@ -52,3 +52,6 @@
|
|||||||
|
|
||||||
(when (featurep! +journal)
|
(when (featurep! +journal)
|
||||||
(package! org-journal))
|
(package! org-journal))
|
||||||
|
|
||||||
|
(when (featurep! +hugo)
|
||||||
|
(package! ox-hugo))
|
||||||
|
Reference in New Issue
Block a user