@jorsek/md-to-dita
v0.1.0
Published
Simple Markdown to DITA converter for NodeJS
Downloads
1
Readme
Markdown to DITA
Transforms Markdown content to DITA.
Probably don't use this right now... Currently, only working in a rudamentary way. Would not deploy for any production use case, or really any use case that you exepected to work.
Process
To convert from Markdown, two stages are run:
- Basic transform to rough DITA
- Rough DITA to componentized DITA
Rough DITA is designed to produce only body content in one long flow. All headings are transformed to <p><b>...</b></p>
tags with the heading level in an @outputclass
on the <b outputclass="h#">
.
Not done (or started) Transitioning to componentized will take these headings and move them into topics. There will also likely be some other clean up.