Browse Source

Fix capture template for slides

main
parent
commit
752cc254de
  1. 5
      README.org
  2. 5
      modules/writing.el

5
README.org

@ -919,7 +919,7 @@ Produce high quality presentations that work anywhere with =HTML/JS= and the [[h
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package ox-reveal (use-package ox-reveal
:after ox-roam
:after ox
:custom (org-reveal-root "https://cdn.jsdelivr.net/npm/reveal.js")) :custom (org-reveal-root "https://cdn.jsdelivr.net/npm/reveal.js"))
#+end_src #+end_src
@ -938,7 +938,10 @@ Create a capture template for creating slides quickly, with our desired configur
,#+AUTHOR: Christopher James Hayward ,#+AUTHOR: Christopher James Hayward
,#+EXPORT_FILE_NAME: ${slug} ,#+EXPORT_FILE_NAME: ${slug}
,#+OPTIONS: toc:nil num:nil reveal_title_slide:nil
,#+REVEAL_ROOT: https://cdn.jsdelivr.net/npm/reveal.js ,#+REVEAL_ROOT: https://cdn.jsdelivr.net/npm/reveal.js
,#+REVEAL_THEME: serif
"))) ")))
#+end_src #+end_src

5
modules/writing.el

@ -75,7 +75,7 @@
"))) ")))
(use-package ox-reveal (use-package ox-reveal
:after ox-roam
:after ox
:custom (org-reveal-root "https://cdn.jsdelivr.net/npm/reveal.js")) :custom (org-reveal-root "https://cdn.jsdelivr.net/npm/reveal.js"))
(with-eval-after-load 'org-roam (with-eval-after-load 'org-roam
@ -90,7 +90,10 @@
#+AUTHOR: Christopher James Hayward #+AUTHOR: Christopher James Hayward
#+EXPORT_FILE_NAME: ${slug} #+EXPORT_FILE_NAME: ${slug}
#+OPTIONS: toc:nil num:nil reveal_title_slide:nil
#+REVEAL_ROOT: https://cdn.jsdelivr.net/npm/reveal.js #+REVEAL_ROOT: https://cdn.jsdelivr.net/npm/reveal.js
#+REVEAL_THEME: serif
"))) ")))
(unless (string-match-p "\\.gpg" org-agenda-file-regexp) (unless (string-match-p "\\.gpg" org-agenda-file-regexp)

Loading…
Cancel
Save