Newline woes when exporting to mediawiki markup

2021-06-01 Thread Dov Grobgeld
Hello, I've been trying to use the ox-mediawiki.el export option to export from org mode to mediawiki mode. Unfortunately the exporting does a poor job of exporting lists. E.g. the following org mode source: ``` * A section - An item - Another item - A subitem - Another subitem - B

Re: Newline woes when exporting to mediawiki markup

2021-06-01 Thread Nicolas Goaziou
Hello, Dov Grobgeld writes: > I tried to modify ox-mediawiki.el to solve the following two issues: > > - Get rid of redundant newlines between exported list items > - Replicate the leading asterisk to reflect the indentation level of the > list. > > To get of the newline I tried to rewrite the o

Re: Newline woes when exporting to mediawiki markup

2021-06-01 Thread Dov Grobgeld
Thanks for the help. I now updated the function `org-mw-item` to: (defun org-mw-item (item contents info) "Transcode ITEM element into Mediawiki format. CONTENTS is the item contents. INFO is a plist used as a communication channel." (let* ((type (org-element-property :typ