summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLungang Fang <lungang.fang@gmail.com>2016-12-13 13:58:30 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2016-12-13 13:59:34 +0100
commit01b2c12fec846aa1ac17dae82855c9a341309476 (patch)
treef18c80705225e1005e261c7b0f69357f76db01cb
parentdadad5fa39f2ce8e2fd8a189c8e6ea2bfaf371df (diff)
downloadorg-mode-01b2c12fec846aa1ac17dae82855c9a341309476.tar.gz
ox-confluence.el: Support quote blocks
* contrib/lisp/ox-confluence.el (org-confluence-quote-block): New function. Convert quote blocks as shown below: This is a quote ==> This is a quote
-rw-r--r--contrib/lisp/ox-confluence.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/lisp/ox-confluence.el b/contrib/lisp/ox-confluence.el
index 87ad2d0..95a674e 100644
--- a/contrib/lisp/ox-confluence.el
+++ b/contrib/lisp/ox-confluence.el
@@ -50,6 +50,7 @@
(link . org-confluence-link)
(paragraph . org-confluence-paragraph)
(property-drawer . org-confluence-property-drawer)
+ (quote-block . org-confluence-quote-block)
(section . org-confluence-section)
(src-block . org-confluence-src-block)
(strike-through . org-confluence-strike-through)
@@ -133,6 +134,9 @@ a communication channel."
(and (org-string-nw-p contents)
(format "\{\{%s\}\}" contents)))
+(defun org-confluence-quote-block (quote-block contents info)
+ (format "{quote}\n%s{quote}" contents))
+
(defun org-confluence-section (section contents info)
contents)