markdown tool

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
susans
Posts: 3

markdown tool

Mon Aug 28, 2017 11:27 am

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: 169

Re: markdown tool

Wed Aug 30, 2017 2:50 pm

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
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
susans
Posts: 3

Re: markdown tool

Fri Sep 01, 2017 12:11 am

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: 5097

Re: markdown tool

Tue Sep 05, 2017 8:27 am

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

Return to “Common Problems”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest