Add support for ordered list to ox-confluence.el
* contrib/lisp/ox-confluence.el (org-confluence-item): Support descriptive list When converting a descriptive list item, be sure to include the "item" part, not just the description. TINYCHANGE
This commit is contained in:
parent
a76b000da7
commit
9e5bdb04d7
|
@ -83,9 +83,13 @@
|
|||
(defun org-confluence-item (item contents info)
|
||||
(let* ((plain-list (org-export-get-parent item))
|
||||
(type (org-element-property :type plain-list))
|
||||
(bullet (if (eq type `ordered) ?\# ?\-)))
|
||||
(bullet (if (eq type 'ordered) ?\# ?\-)))
|
||||
(concat (make-string (1+ (org-confluence--li-depth item)) bullet)
|
||||
" "
|
||||
(if (eq type 'descriptive)
|
||||
(concat "*"
|
||||
(org-export-data (org-element-property :tag item) info)
|
||||
"* - "))
|
||||
(org-trim contents))))
|
||||
|
||||
(defun org-confluence-fixed-width (fixed-width contents info)
|
||||
|
|
Loading…
Reference in New Issue