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
This commit is contained in:
Lungang Fang 2016-12-13 13:58:30 +01:00 committed by Nicolas Goaziou
parent dadad5fa39
commit 01b2c12fec
1 changed files with 4 additions and 0 deletions

View File

@ -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)