ox-confluence.el: Export fixed-width as example-block

* contrib/lisp/ox-confluence.el (org-confluence-fixed-width):
export fixed-width as example-block so that the outcome is more
consistent with org-mode format.  Other back-ends (say ox-md.el)
also work this way.

TINYCHANGE
This commit is contained in:
Lungang Fang 2016-12-14 21:19:18 +11:00 committed by Nicolas Goaziou
parent d29b9ee064
commit 2b93cec8c2
1 changed files with 4 additions and 2 deletions

View File

@ -94,8 +94,10 @@
(org-trim contents))))
(defun org-confluence-fixed-width (fixed-width contents info)
(format "\{\{%s\}\}"
(org-trim (org-element-property :value fixed-width))))
(org-confluence--block
"none"
"Confluence"
(org-trim (org-element-property :value fixed-width))))
(defun org-confluence-verbatim (verbatim contents info)
(format "\{\{%s\}\}" (org-element-property :value verbatim)))