mirror of https://github.com/yjwen/org-reveal.git
commit
0dc6d4f1dd
11
Readme.org
11
Readme.org
|
@ -279,15 +279,18 @@
|
|||
Theme is set globally throughout the whole file by setting option
|
||||
=REVEAL_THEME=.
|
||||
|
||||
Available themes can be found in "css/theme/" in the reveal.js directory.
|
||||
|
||||
Custom themes can be implemented by setting =REVEAL_THEME= to =custom= and
|
||||
then setting =REVEAL_THEME_CUSTOM= to the path for a theme CSS file.
|
||||
|
||||
Slide transition style is set by initialization option ~transition~
|
||||
and the transition speed is set by ~transitionSpeed~ . Please refer to
|
||||
section [[Initialization options]] for details.
|
||||
|
||||
For an example, please check the heading part of this document.
|
||||
|
||||
Available themes can be found in "css/theme/" in the reveal.js directory.
|
||||
|
||||
Available transitions are: default|cube|page|concave|zoom|linear|fade|none.
|
||||
|
||||
For an example of these settings, please check the heading part of this document.
|
||||
** 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
|
||||
|
|
11
ox-reveal.el
11
ox-reveal.el
|
@ -60,6 +60,7 @@
|
|||
(:reveal-trans "REVEAL_TRANS" nil nil t)
|
||||
(:reveal-speed "REVEAL_SPEED" nil nil t)
|
||||
(:reveal-theme "REVEAL_THEME" nil org-reveal-theme t)
|
||||
(:reveal-theme-custom "REVEAL_THEME_CUSTOM" nil nil nil)
|
||||
(: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-extra-initial-js "REVEAL_EXTRA_INITIAL_JS" nil org-reveal-extra-initial-js newline)
|
||||
|
@ -650,10 +651,12 @@ using custom variable `org-reveal-root'."
|
|||
(version (org-reveal--get-reveal-js-version info))
|
||||
(reveal-css (org-reveal--choose-path root-path version "dist/reveal.css" "css/reveal.css"))
|
||||
(theme (plist-get info :reveal-theme))
|
||||
(theme-css (org-reveal--choose-path root-path
|
||||
version
|
||||
(concat "dist/theme/" theme ".css")
|
||||
(concat "css/theme/" theme ".css")))
|
||||
(theme-css (if (string-equal "custom" (downcase theme))
|
||||
(plist-get info :reveal-theme-custom)
|
||||
(org-reveal--choose-path root-path
|
||||
version
|
||||
(concat "dist/theme/" theme ".css")
|
||||
(concat "css/theme/" theme ".css"))))
|
||||
(extra-css (plist-get info :reveal-extra-css))
|
||||
(in-single-file (plist-get info :reveal-single-file)))
|
||||
(concat
|
||||
|
|
Loading…
Reference in New Issue