From 69965799360954e6c86c1b4a3e0930bb40a0a8de Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 15 Feb 2026 15:21:21 -0600 Subject: fix(reveal): suppress date/caps on title slide, move transition to init options - Add date:nil, timestamp:nil, author:t to template OPTIONS - Set global CSS override (text-transform:none) via org-reveal-head-preamble - Move transition from obsolete REVEAL_TRANS to REVEAL_INIT_OPTIONS - Default transition changed to "none" - Global init options now reference cj/reveal-default-transition constant --- modules/org-reveal-config.el | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'modules') diff --git a/modules/org-reveal-config.el b/modules/org-reveal-config.el index 3ab80315..9dfbb99a 100644 --- a/modules/org-reveal-config.el +++ b/modules/org-reveal-config.el @@ -33,7 +33,7 @@ (defconst cj/reveal-default-theme "black" "Default reveal.js theme for new presentations.") -(defconst cj/reveal-default-transition "slide" +(defconst cj/reveal-default-transition "none" "Default reveal.js slide transition for new presentations.") ;; --------------------------------- ox-reveal --------------------------------- @@ -45,7 +45,10 @@ (setq org-reveal-single-file t) (setq org-reveal-plugins '(highlight notes search zoom)) (setq org-reveal-highlight-css "%r/plugin/highlight/monokai.css") - (setq org-reveal-init-options "slideNumber:true, hash:true")) + (setq org-reveal-init-options (format "slideNumber:true, hash:true, transition:'%s'" + cj/reveal-default-transition)) + (setq org-reveal-head-preamble + "")) ;; ----------------------------- Private Helpers ------------------------------- @@ -58,11 +61,10 @@ #+DATE: %s #+REVEAL_ROOT: %s #+REVEAL_THEME: %s -#+REVEAL_TRANS: %s -#+REVEAL_INIT_OPTIONS: slideNumber:true, hash:true +#+REVEAL_INIT_OPTIONS: slideNumber:true, hash:true, transition:'%s' #+REVEAL_PLUGINS: (highlight notes search zoom) #+REVEAL_HIGHLIGHT_CSS: %%r/plugin/highlight/monokai.css -#+OPTIONS: toc:nil num:nil +#+OPTIONS: toc:nil num:nil date:nil timestamp:nil author:t " title (user-full-name) (format-time-string "%Y-%m-%d") (concat "file://" cj/reveal-root) -- cgit v1.2.3