mirror of https://github.com/yjwen/org-reveal.git
Fixed #377. Add a variable to skip exporting speaker notes.
This commit is contained in:
parent
1746953a9f
commit
07b804fe63
|
@ -683,6 +683,9 @@ This feature is turned off by default and needs to be switched on with ~org-reve
|
|||
,#+END_NOTES
|
||||
#+END_SRC
|
||||
|
||||
To skip exporting speaker notes, please set variable
|
||||
`org-reveal-ignore-speaker-notes` to `t`.
|
||||
|
||||
#+REVEAL: split
|
||||
Speaker notes requires the ~notes~ plug-in. If you changed default
|
||||
plug-in setting by specifying =#+REVEAL_PLUGINS= or by setting
|
||||
|
@ -706,7 +709,7 @@ This feature is turned off by default and needs to be switched on with ~org-reve
|
|||
'n'. set it to nil will forbid the auto-completion for speaker notes.
|
||||
|
||||
** Multiplexing
|
||||
Reveal.js supports multiplexing, which allows allows your audience to view
|
||||
Reveal.js supports multiplexing, which allows your audience to view
|
||||
the slides of the presentation you are controlling on their own phone, tablet
|
||||
or laptop. As the master presentation navigates the slides, all client
|
||||
presentations will update in real time. See a demo at
|
||||
|
|
|
@ -331,6 +331,11 @@ BEFORE the plugins that depend on them."
|
|||
:group 'org-export-reveal
|
||||
:type 'string)
|
||||
|
||||
(defcustom org-reveal-ignore-speaker-notes nil
|
||||
"Ignore speaker notes."
|
||||
:group 'org-export-reveal
|
||||
:type 'boolean)
|
||||
|
||||
(defun if-format (fmt val)
|
||||
(if val (format fmt val) ""))
|
||||
|
||||
|
@ -362,7 +367,9 @@ Reveal.js slide note. Otherwise, export the block as by the HTML
|
|||
exporter."
|
||||
(let ((block-type (org-element-property :type special-block)))
|
||||
(if (string= block-type "NOTES")
|
||||
(format "<aside class=\"notes\">\n%s\n</aside>\n" contents)
|
||||
(if org-reveal-ignore-speaker-notes
|
||||
""
|
||||
(format "<aside class=\"notes\">\n%s\n</aside>\n" contents))
|
||||
(org-html-special-block special-block contents info))))
|
||||
|
||||
(defun org-reveal-slide-section-tag (headline info for-split)
|
||||
|
|
Loading…
Reference in New Issue