Fixed #358. Allow title slides to be specified by multiple option lines.

This commit is contained in:
Yujie Wen 2019-06-25 23:10:24 +08:00
parent 6d6e4b5453
commit 20235b99b6
2 changed files with 10 additions and 6 deletions

View File

@ -228,11 +228,15 @@
*** Customize the Title Slide
To customize the title slide, please set ~org-reveal-title-slide~
to a string of HTML markups. Alternatively, set ~reveal_title_slide~ in
the ~#+OPTIONS:~ line to a string of HTML markups.
The following escaping character can
be used to retrieve document information:
There are 3 ways t ocustomize the title slide.
1. Set variable ~org-reveal-title-slide~ to a string of HTML markups.
2. Set ~reveal_title_slide~ in the ~#+OPTIONS:~ line to a string of HTML markups.
3. Use one or more option lines ~#+REVEAL_TITLE_SLIDE:~ to specify
the HTML of the title slide.
The following escaping characters can be used to retrieve document
information:
| ~%t~ | Title |
| ~%a~ | Author |
| ~%e~ | Email |

View File

@ -63,7 +63,7 @@
(:reveal-extra-css "REVEAL_EXTRA_CSS" nil org-reveal-extra-css newline)
(:reveal-extra-js "REVEAL_EXTRA_JS" nil org-reveal-extra-js nil)
(:reveal-hlevel "REVEAL_HLEVEL" nil nil t)
(:reveal-title-slide nil "reveal_title_slide" org-reveal-title-slide t)
(:reveal-title-slide "REVEAL_TITLE_SLIDE" "reveal_title_slide" org-reveal-title-slide newline)
(:reveal-slide-global-header nil "reveal_global_header" org-reveal-global-header t)
(:reveal-slide-global-footer nil "reveal_global_footer" org-reveal-global-footer t)
(:reveal-title-slide-background "REVEAL_TITLE_SLIDE_BACKGROUND" nil nil t)