mirror of https://github.com/yjwen/org-reveal.git
Remove org-reveal-paragraph as fragment has been handled in element property.
This commit is contained in:
parent
67f35631e8
commit
9064745f4b
12
ox-reveal.el
12
ox-reveal.el
|
@ -92,7 +92,6 @@
|
|||
(keyword . org-reveal-keyword)
|
||||
(link . org-reveal-link)
|
||||
(plain-list . org-reveal-plain-list)
|
||||
(paragraph . org-reveal-paragraph)
|
||||
(quote-block . org-reveal-quote-block)
|
||||
(section . org-reveal-section)
|
||||
(src-block . org-reveal-src-block)
|
||||
|
@ -805,17 +804,6 @@ Extract and set `attr_html' to plain-list tag attributes."
|
|||
contents
|
||||
tag)))
|
||||
|
||||
(defun org-reveal-paragraph (paragraph contents info)
|
||||
"Transcode a PARAGRAPH element from Org to Reveal.
|
||||
CONTENTS is the contents of the paragraph, as a string. INFO is
|
||||
the plist used as a communication channel."
|
||||
(let ((frag (org-export-read-attribute :attr_reveal paragraph :frag))
|
||||
(html (org-html-paragraph paragraph contents info)))
|
||||
(if (and frag
|
||||
(not (org-html-standalone-image-p paragraph info)))
|
||||
(format "<span%s>%s</span>" (frag-class frag info) html)
|
||||
html)))
|
||||
|
||||
(defun org-reveal--build-pre/postamble (type info)
|
||||
"Return document preamble or postamble as a string, or nil."
|
||||
(let ((section (plist-get info (intern (format ":reveal-%s" type))))
|
||||
|
|
Loading…
Reference in New Issue