forked from mirrors/org-mode
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:
parent
d29b9ee064
commit
2b93cec8c2
|
@ -94,8 +94,10 @@
|
||||||
(org-trim contents))))
|
(org-trim contents))))
|
||||||
|
|
||||||
(defun org-confluence-fixed-width (fixed-width contents info)
|
(defun org-confluence-fixed-width (fixed-width contents info)
|
||||||
(format "\{\{%s\}\}"
|
(org-confluence--block
|
||||||
(org-trim (org-element-property :value fixed-width))))
|
"none"
|
||||||
|
"Confluence"
|
||||||
|
(org-trim (org-element-property :value fixed-width))))
|
||||||
|
|
||||||
(defun org-confluence-verbatim (verbatim contents info)
|
(defun org-confluence-verbatim (verbatim contents info)
|
||||||
(format "\{\{%s\}\}" (org-element-property :value verbatim)))
|
(format "\{\{%s\}\}" (org-element-property :value verbatim)))
|
||||||
|
|
Loading…
Reference in New Issue