Fixed #430. Removed documents about obsolete data-state

This commit is contained in:
Yujie Wen 2020-08-02 15:10:54 +08:00
parent 6a00388d85
commit 553e1a9d67
2 changed files with 2 additions and 14 deletions

View File

@ -52,7 +52,6 @@
- [[Fragment Styles][Fragment Styles]]([[https://github.com/yjwen/org-reveal#fragment-styles][gh]])
- [[Fragment Index][Fragment Index]]([[https://github.com/yjwen/org-reveal#fragment-index][gh]])
- [[List Fragments][List Fragments]]([[https://github.com/yjwen/org-reveal#list-fragments][gh]])
- [[Data State][Data State]]([[https://github.com/yjwen/org-reveal#data-state][gh]])
#+REVEAL: split:t
- [[Initialization options][Initialization options]]([[https://github.com/yjwen/org-reveal#initialization-options][gh]])
- [[Third-Party Plugins][Third-Party Plugins]]([[https://github.com/yjwen/org-reveal#third-party-plugins][gh]])
@ -563,17 +562,6 @@ Other possible choice for slide numbers are:
* I appear.
* I appear.
** Data State
:PROPERTIES:
:reveal_data_state: alert
:END:
Set property =reveal_data_state= to headings to change this slide's
display style, as illustrated above.
Available data states are: alert|blackout|soothe.
** Initialization options
Use ~#+REVEAL_INIT_OPTIONS~ to give JS snippet for initialize
reveal.js with different options. Check [[https://github.com/hakimel/reveal.js/#configuration][reveal.js document]] for

View File

@ -430,7 +430,7 @@ exporter."
(if for-split "-split" ""))
:class ,(org-element-property :HTML_CONTAINER_CLASS headline)
:data-transition ,(org-element-property :REVEAL_DATA_TRANSITION headline)
:data-state ,(org-element-property :REVEAL_DATA_STATE headline)
:data-state ,(org-element-property :REVEAL_DATA_STATE headline) ;; 3.9 legacy
:data-background-iframe ,slide-background-iframe))
(concat
"style=\""
@ -461,7 +461,7 @@ exporter."
(if for-split "-split" ""))
:class ,(org-element-property :HTML_CONTAINER_CLASS headline)
:data-transition ,(org-element-property :REVEAL_DATA_TRANSITION headline)
:data-state ,(org-element-property :REVEAL_DATA_STATE headline)
:data-state ,(org-element-property :REVEAL_DATA_STATE headline) ;; 3.9 legacy
:data-background ,(or (org-element-property :REVEAL_BACKGROUND headline)
default-slide-background)
:data-background-size ,(or (org-element-property :REVEAL_BACKGROUND_SIZE headline)