DITA Transforms and Markdown Lists

Post here questions and problems related to editing and publishing DITA content.
csquires
Posts: 10
Joined: Wed May 02, 2018 8:29 pm

DITA Transforms and Markdown Lists

Post by csquires »

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: 9046
Joined: Fri Jul 09, 2004 5:18 pm

Re: DITA Transforms and Markdown Lists

Post by Radu »

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: 10
Joined: Wed May 02, 2018 8:29 pm

Re: DITA Transforms and Markdown Lists

Post by csquires »

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: 9046
Joined: Fri Jul 09, 2004 5:18 pm

Re: DITA Transforms and Markdown Lists

Post by Radu »

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: 10
Joined: Wed May 02, 2018 8:29 pm

Re: DITA Transforms and Markdown Lists

Post by csquires »

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