From e9e2c6293ab459b14c6488935c1a734b559c09be Mon Sep 17 00:00:00 2001 From: yujie Date: Thu, 14 Apr 2016 14:26:58 +0800 Subject: [PATCH] Add documents for setting the title slide. --- Readme.org | 22 ++++++++++++++++++++++ ox-reveal.el | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/Readme.org b/Readme.org index 89f953c..703e3af 100644 --- a/Readme.org +++ b/Readme.org @@ -214,6 +214,28 @@ Available themes can be found in "css/theme/" in the reveal.js directory. Available transitions are: default|cube|page|concave|zoom|linear|fade|none. +** Set The Title Slide + By default, Org-reveal generates a title slide displaying the + title, the author, the Email, the date and the time-stamp of the + Org document, controlled by Org's [[http://orgmode.org/org.html#Export-settings][export settings]]. + + To avoid a title slide, please set variable + ~org-reveal-title-slide~ to ~nil~, or add ~reveal_title_slide:nil~ to + ~#+OPTIONS:~ line. + + To restore the default title slide, please set variable + ~org-reveal-title-slide~ to ~'auto~. + +*** Customize the Title Slide + + To customize the title slide, please set ~org-reveal-title-slide~ + to a string of HTML markups. The following escaping character can + be used to retrieve document information: + | ~%s~ | Title | + | ~%a~ | Author | + | ~%e~ | Email | + | ~%d~ | Date | + | ~%%~ | Literal % | ** Set Slide Background diff --git a/ox-reveal.el b/ox-reveal.el index 3b5617f..8f39a26 100644 --- a/ox-reveal.el +++ b/ox-reveal.el @@ -134,7 +134,7 @@ slide, where the following escaping elements are allowed: %s stands for the title %a stands for the author's name. %e stands for the author's email. - %d stands for the data. + %d stands for the date. %% stands for a literal %." :group 'org-export-reveal :type '(choice (const :tag "No title slide" nil)