Page 1 of 1
markdown tool
Posted: Mon Aug 28, 2017 11:27 am
by susans
I am creating an xml file which will be converted to html using xslt.
I would like instructions on how to use the markdown feature of oxygen for automation of coding
italic, bold, hyperlink, paragraphs and endnotes in the xml document
Is this possible or is it something that I need to add to the xslt?
thanks
Re: markdown tool
Posted: Wed Aug 30, 2017 2:50 pm
by mihaela
Hi,
Indeed we have support for converting Markdown fragments to XML markup for DITA documents. This support is provided as an extension of the oXygen XML Editor DITA framework.
When this framework is activated you can write Markdown fragments in DITA paragraphs and these will be recognized and you can choose to replace them with the corresponding DITA markup.
You can download the framework and some samples from here:
https://github.com/oxygenxml/ditaMark
And here is a link to "Markdown support in Oxygen" presentation made by George Bina at Oxygen Users Meetup, Prague 2017:
https://www.oxygenxml.com/events/2017/o ... _in_oxygen
Re: markdown tool
Posted: Fri Sep 01, 2017 12:11 am
by susans
thank you for your quick reply. I am new to xml and we are not using a dita framework - we are converting our xml to html. We created an xsd and are transforming the xml with xslt. Should we be using dita? Or should we be adding the <p> <b> etc tags into the schema - if yes then how. And should we then be creating templates for them in the xslt.
thanks for your assistance
Re: markdown tool
Posted: Tue Sep 05, 2017 8:27 am
by Radu
Hi Susan,
If you are converting XML to HTML using XSLT, why would you need our Markdown support for anything?
Markdown is just a plain text representation of styles which can be converted to HTML usually directly by using some Javascript in the web browser.
But as your XSLT can produce directly HTML tags you probably do not need our Markdown editing facilities.
Regards,
Radu