Customize conversion of Markdown to DITA
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 1
- Joined: Tue Apr 22, 2025 11:56 am
Customize conversion of Markdown to DITA
Hi,
I am not sure if the category I selected is the right one for this issue. I am using the Markdown to DITA conversion process in Oxygen XML Editor. While converting, the converter is assigned some DITA tags to specific markdown elements, which we would like to customize. Say for example, the converter might assign <codeph> tag for a specific situation, which we would like it to assign <codeblock>. Is there a mapping file where we can define this change?
I am not sure if the category I selected is the right one for this issue. I am using the Markdown to DITA conversion process in Oxygen XML Editor. While converting, the converter is assigned some DITA tags to specific markdown elements, which we would like to customize. Say for example, the converter might assign <codeph> tag for a specific situation, which we would like it to assign <codeblock>. Is there a mapping file where we can define this change?
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Customize conversion of Markdown to DITA
Hi,
How exactly do you convert Markdown to DITA using Oxygen? Are you using our free batch documents converter addon?
https://www.oxygenxml.com/doc/ug-addons ... addon.html
As far as I know we do not have any setting to control the elements generated in the conversion, maybe you could try to create a custom XML refactoring operation using XSLT which when applied on the output DITA XML content could modify the structure to better fit your purpose.
https://www.oxygenxml.com/doc/versions/ ... tools.html
and some XML refactor examples:
https://github.com/oxygenxml/dita-refactoring-examples/
Regards,
Radu
How exactly do you convert Markdown to DITA using Oxygen? Are you using our free batch documents converter addon?
https://www.oxygenxml.com/doc/ug-addons ... addon.html
As far as I know we do not have any setting to control the elements generated in the conversion, maybe you could try to create a custom XML refactoring operation using XSLT which when applied on the output DITA XML content could modify the structure to better fit your purpose.
https://www.oxygenxml.com/doc/versions/ ... tools.html
and some XML refactor examples:
https://github.com/oxygenxml/dita-refactoring-examples/
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “SDK-API, Frameworks - Document Types”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service