mirror of https://github.com/yjwen/org-reveal.git
fragment support for tables
This commit is contained in:
parent
216ae62f8c
commit
b4b5a9ccb3
|
@ -83,6 +83,7 @@
|
|||
(keyword . org-reveal-keyword)
|
||||
(paragraph . org-reveal-paragraph)
|
||||
(quote-block . org-reveal-quote-block)
|
||||
(table . org-reveal-table)
|
||||
(section . org-reveal-section)
|
||||
(src-block . org-reveal-src-block)
|
||||
(template . org-reveal-template))
|
||||
|
@ -775,6 +776,14 @@ contextual information."
|
|||
(frag-class (org-export-read-attribute :attr_reveal quote-block :frag))
|
||||
contents))
|
||||
|
||||
(defun org-reveal-table (table contents info)
|
||||
"Transcode a TABLE element from Org to Reveal.
|
||||
CONTENTS holds the contents of the table INFO is a plist holding
|
||||
contextual information."
|
||||
(format "<table %s>\n%s</table>"
|
||||
(frag-class (org-export-read-attribute :attr_reveal table :frag))
|
||||
contents))
|
||||
|
||||
(defun org-reveal-template (contents info)
|
||||
"Return complete document string after HTML conversion.
|
||||
contents is the transcoded contents string.
|
||||
|
|
Loading…
Reference in New Issue