add ox-hugo to org
This commit is contained in:
parent
3f7e0fd103
commit
f6b79d40a2
2 changed files with 13 additions and 2 deletions
|
@ -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))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue