DITA Transforms and Markdown Lists

csquires
Posts: 7
Joined: Wed May 02, 2018 8:29 pm

DITA Transforms and Markdown Lists

Post by csquires » Fri Mar 15, 2019 1:48 am

I've just started writing markdown documents using the Markdown toolbar in Oxygen 20.1. I've just run into a problem with embedded lists. When I create the second level list items, the bullets toolbar icon adds items prefixed with two spaces, but none of the transforms recognize the second level. I then found this page https://www.oxygenxml.com/doc/versions/ ... down-rules where it says embedded items must have two spaces. After messing around for a while I discovered that the transforms only recognize the second level if there are four spaces not two. Is there a way to edit the icon or validate this?


Thanks,
Carolyn :D

Radu
Posts: 6453
Joined: Fri Jul 09, 2004 5:18 pm

Re: DITA Transforms and Markdown Lists

Post by Radu » Fri Mar 15, 2019 9:13 am

Hi Carolyn,

Oxygen's Preview area has a "DITA" and "HTML" tab and in both cases the second level lists which use the two spaces seem to be recognized.
When you talk about "transforms" what do you mean? How are you using the Markdown content after you write it?

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

csquires
Posts: 7
Joined: Wed May 02, 2018 8:29 pm

Re: DITA Transforms and Markdown Lists

Post by csquires » Fri Mar 15, 2019 6:26 pm

Hi Radu,

I've added the Markdown topics to DITA map. When I generated any type of DITA output (webhelp, pdf, xhtml, ect.) the output generated is not nested, but if I add 4 spaces to the second level bullet list it is nested in the output.

Thanks,
Carolyn

Radu
Posts: 6453
Joined: Fri Jul 09, 2004 5:18 pm

Re: DITA Transforms and Markdown Lists

Post by Radu » Mon Mar 18, 2019 11:31 am

Hi Carolyn,

I managed to reproduce this problem with Oxygen 20.1 and the DITA Open Toolkit bundled with it (DITA OT 2.5.4).
But I can no longer reproduce the problem with Oxygen 21 (which comes bundled with DITA OT 3.2.1).
At some point the publishing engine plugin which converts Markdown to DITA was redesigned to use another convertor library so you should try to switch to Oxygen 21.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

csquires
Posts: 7
Joined: Wed May 02, 2018 8:29 pm

Re: DITA Transforms and Markdown Lists

Post by csquires » Fri Sep 06, 2019 11:24 pm

Thanks, I'm currently trying to do that. :)

Post Reply