From 553e1a9d678e74c2646e4c19bd9f6c08d8a00486 Mon Sep 17 00:00:00 2001 From: Yujie Wen Date: Sun, 2 Aug 2020 15:10:54 +0800 Subject: [PATCH] Fixed #430. Removed documents about obsolete data-state --- Readme.org | 12 ------------ ox-reveal.el | 4 ++-- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/Readme.org b/Readme.org index 0658db6..9c8cd99 100644 --- a/Readme.org +++ b/Readme.org @@ -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 diff --git a/ox-reveal.el b/ox-reveal.el index aa90c97..703b886 100644 --- a/ox-reveal.el +++ b/ox-reveal.el @@ -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)