diff --git a/modules/lang/org/README.org b/modules/lang/org/README.org index cf5462afd..9fa6a7bdf 100644 --- a/modules/lang/org/README.org +++ b/modules/lang/org/README.org @@ -61,8 +61,8 @@ https://www.mfoot.com/blog/2015/11/22/literate-emacs-configuration-with-org-mode + =+pandoc= Enables pandoc integration into the Org exporter. + =+present= Enables integration with reveal.js, beamer and org-tree-slide, so Emacs can be used for presentations. -+ =+hugo= Enables integration with [[https://gohugo.io][hugo]] to export from - Emacs well-formed ([[https://github.com/russross/blackfriday][blackfriday]]) markdown. ++ =+hugo= Enables integration with [[https://gohugo.io][hugo]] to export from Emacs well-formed + ([[https://github.com/russross/blackfriday][blackfriday]]) markdown. ** Plugins + [[https://orgmode.org/][org-plus-contrib]] diff --git a/modules/lang/org/config.el b/modules/lang/org/config.el index bb7856ef1..4c951e72d 100644 --- a/modules/lang/org/config.el +++ b/modules/lang/org/config.el @@ -868,7 +868,7 @@ compelling reason, so..." ;;; Custom org modules (if (featurep! +dragndrop) (load! "contrib/dragndrop")) - (if (featurep! +hugo) (load! "contrib/+hugo")) + (if (featurep! +hugo) (load! "contrib/hugo")) (if (featurep! +ipython) (load! "contrib/ipython")) (if (featurep! +present) (load! "contrib/present")) diff --git a/modules/lang/org/contrib/+hugo.el b/modules/lang/org/contrib/hugo.el similarity index 94% rename from modules/lang/org/contrib/+hugo.el rename to modules/lang/org/contrib/hugo.el index da689afc2..c466be339 100644 --- a/modules/lang/org/contrib/+hugo.el +++ b/modules/lang/org/contrib/hugo.el @@ -4,7 +4,8 @@ (use-package! ox-hugo :after ox :preface - (map! :map org-mode-map + (map! :after org + :map org-mode-map :localleader (:prefix "e" (:prefix ("H" . "hugo") @@ -14,5 +15,3 @@ :desc "File to Md file & open" "o" (λ! (org-open-file (org-hugo-export-to-md))) :desc "All subtrees (or File) to Md file(s)" "A" (λ! (org-hugo-export-wim-to-md :all-subtrees)) :desc "File to a temporary Md buffer" "t" #'org-hugo-export-as-md)))) - -;;; +hugo.el ends here