forked from mirrors/org-mode
ox-confluence.el: Add support for ordered list
* contrib/lisp/ox-confluence.el (org-confluence-item): Support ordered list When converting a bullet item, examine the type of it and convert accordingly. TINYCHANGE
This commit is contained in:
parent
5e3fe91b7c
commit
f184ee9d2d
|
@ -81,9 +81,12 @@
|
|||
(format "_%s_" contents))
|
||||
|
||||
(defun org-confluence-item (item contents info)
|
||||
(concat (make-string (1+ (org-confluence--li-depth item)) ?\-)
|
||||
" "
|
||||
(org-trim contents)))
|
||||
(let* ((plain-list (org-export-get-parent item))
|
||||
(type (org-element-property :type plain-list))
|
||||
(bullet (if (eq type `ordered) ?\# ?\-)))
|
||||
(concat (make-string (1+ (org-confluence--li-depth item)) bullet)
|
||||
" "
|
||||
(org-trim contents))))
|
||||
|
||||
(defun org-confluence-fixed-width (fixed-width contents info)
|
||||
(format "\{\{%s\}\}" contents))
|
||||
|
|
Loading…
Reference in a new issue