Setup `org-re-reveal'

This commit is contained in:
Gerard Vermeulen 2023-06-21 10:51:09 +02:00
parent 720fd64539
commit e417de40b4

View File

@ -3071,6 +3071,29 @@ environments and non-floating breakable LaTeX environments by means of
(smart-latex-engrave-org-source-blocks))) (smart-latex-engrave-org-source-blocks)))
#+end_src #+end_src
*** [[https://oer.gitlab.io/org-re-reveal/Readme.html][Org-re-reveal]]
:PROPERTIES:
:CUSTOM_ID: sec:org-re-reveal
:END:
I have used the [[https://revealjs.com/installation/#full-setup][recommended full setup method]] to install ~reveal.js~ as an
[[https://oer.gitlab.io/org-re-reveal/Readme.html][Org-re-reveal]] requirement. Listing [[lst:use-org-re-reveal]] provides {{{kbd(M-x
use-org-re-reveal)}}} to setup and load ~org-re-reveal~ taking into account the
expanded file name of the ~reveal.js~ directory.
#+caption[Specify the =reveal.js= location and load =org-re-reveal=]:
#+caption: Specify the =reveal.js= location and load =org-re-reveal=.
#+name: lst:use-org-re-reveal
#+begin_src emacs-lisp -n :results silent
(when (ensure-package-installation 'org-re-reveal)
(defun use-org-re-reveal ()
"Load `org-re-reveal' after setting the \"reveal.js\" root."
(interactive)
(setq org-re-reveal-root
(format "file:///%s" (expand-file-name "~/VCS/reveal.js")))
(require 'org-re-reveal)))
#+end_src
*** [[info:org#Adding Hyperlink Types][Making Org hyperlink types (info)]] *** [[info:org#Adding Hyperlink Types][Making Org hyperlink types (info)]]
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: sec:make-org-hyperlink-types :CUSTOM_ID: sec:make-org-hyperlink-types