mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-08-11 02:21:14 +10:00
Adding ox-hugo to Emacs for converting Org to Hugo-flavored markdown.
This commit is contained in:
@@ -585,6 +585,10 @@
|
|||||||
:commands toc-org-enable
|
:commands toc-org-enable
|
||||||
:init (add-hook 'org-mode-hook 'toc-org-enable))
|
:init (add-hook 'org-mode-hook 'toc-org-enable))
|
||||||
|
|
||||||
|
(use-package ox-hugo
|
||||||
|
:ensure t ;Auto-install the package from Melpa
|
||||||
|
:after ox)
|
||||||
|
|
||||||
(use-package pdf-tools
|
(use-package pdf-tools
|
||||||
:defer t
|
:defer t
|
||||||
:commands (pdf-loader-install)
|
:commands (pdf-loader-install)
|
||||||
|
|||||||
@@ -41,6 +41,7 @@
|
|||||||
- [[#org-tempo][Org-Tempo]]
|
- [[#org-tempo][Org-Tempo]]
|
||||||
- [[#preserve-indentation-on-org-babel-tangle][Preserve Indentation On Org-Babel-Tangle]]
|
- [[#preserve-indentation-on-org-babel-tangle][Preserve Indentation On Org-Babel-Tangle]]
|
||||||
- [[#toc-org][Toc-Org]]
|
- [[#toc-org][Toc-Org]]
|
||||||
|
- [[#ox-hugo][Ox-Hugo]]
|
||||||
- [[#pdfs][PDFs]]
|
- [[#pdfs][PDFs]]
|
||||||
- [[#perspective][PERSPECTIVE]]
|
- [[#perspective][PERSPECTIVE]]
|
||||||
- [[#projectile][PROJECTILE]]
|
- [[#projectile][PROJECTILE]]
|
||||||
@@ -833,6 +834,17 @@ Allows us to create a Table of Contents in our Org docs.
|
|||||||
(use-package toc-org
|
(use-package toc-org
|
||||||
:commands toc-org-enable
|
:commands toc-org-enable
|
||||||
:init (add-hook 'org-mode-hook 'toc-org-enable))
|
:init (add-hook 'org-mode-hook 'toc-org-enable))
|
||||||
|
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
** Ox-Hugo
|
||||||
|
Export org docs to Hugo-style markdown. Hugo is a static website generator.
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package ox-hugo
|
||||||
|
:ensure t ;Auto-install the package from Melpa
|
||||||
|
:after ox)
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* PDFs
|
* PDFs
|
||||||
|
|||||||
Reference in New Issue
Block a user