Page 1 of 1

DITA Transforms and Markdown Lists

Posted: Fri Mar 15, 2019 1:48 am
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

Re: DITA Transforms and Markdown Lists

Posted: Fri Mar 15, 2019 9:13 am
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

Re: DITA Transforms and Markdown Lists

Posted: Fri Mar 15, 2019 6:26 pm
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

Re: DITA Transforms and Markdown Lists

Posted: Mon Mar 18, 2019 11:31 am
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

Re: DITA Transforms and Markdown Lists

Posted: Fri Sep 06, 2019 11:24 pm
by csquires
Thanks, I'm currently trying to do that. :)