lang/org: move contrib/+hugo -> contrib/hugo
+ Refill +hugo flag's description in the README + Lazy load ox-hugo localleader keybinds by package, rather than by keymap deferral
This commit is contained in:
parent
c023cef415
commit
423a38c758
3 changed files with 5 additions and 6 deletions
|
@ -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]]
|
||||
|
|
|
@ -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"))
|
||||
|
||||
|
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue