markdown tool

Having trouble installing Oxygen? Got a bug to report? Post it all here.
susans
Posts: 4
Joined: Wed Jul 05, 2017 12:59 pm

markdown tool

Post 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
mihaela
Posts: 490
Joined: Wed May 20, 2009 2:40 pm

Re: markdown tool

Post 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
Mihaela Calotescu
http://www.oxygenxml.com
susans
Posts: 4
Joined: Wed Jul 05, 2017 12:59 pm

Re: markdown tool

Post 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
Radu
Posts: 9049
Joined: Fri Jul 09, 2004 5:18 pm

Re: markdown tool

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply