mirror of
https://github.com/correl/ox-confluence-en.git
synced 2024-11-23 11:09:54 +00:00
Export NOTES special block using a Confluence note macro
This commit is contained in:
parent
60be67f648
commit
38a293e507
1 changed files with 7 additions and 3 deletions
|
@ -173,9 +173,13 @@ transcoded using the matching Confluence wiki macro.
|
||||||
CONTENTS holds the contents of the element. INFO is a plist
|
CONTENTS holds the contents of the element. INFO is a plist
|
||||||
holding contextual information."
|
holding contextual information."
|
||||||
(let ((block-type (downcase (org-element-property :type special-block))))
|
(let ((block-type (downcase (org-element-property :type special-block))))
|
||||||
(if (member block-type '("info" "note" "warning"))
|
(cond ((string-equal block-type "info")
|
||||||
(ox-confluence-en--macro block-type contents)
|
(ox-confluence-en--macro "info" contents))
|
||||||
(org-ascii-special-block special-block contents info))))
|
((member block-type '("note" "notes"))
|
||||||
|
(ox-confluence-en--macro "note" contents))
|
||||||
|
((string-equal block-type "warning")
|
||||||
|
(ox-confluence-en--macro "warning" contents))
|
||||||
|
(t (org-ascii-special-block special-block contents info)))))
|
||||||
|
|
||||||
(defun ox-confluence-en-verbatim (verbatim contents info)
|
(defun ox-confluence-en-verbatim (verbatim contents info)
|
||||||
"Transcode a VERBATIM element from Org to Confluence wiki markup.
|
"Transcode a VERBATIM element from Org to Confluence wiki markup.
|
||||||
|
|
Loading…
Reference in a new issue