@jorsek/md-to-dita

0.1.0 • Public • Published

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:

  1. Basic transform to rough DITA
  2. 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.

/@jorsek/md-to-dita/

    Package Sidebar

    Install

    npm i @jorsek/md-to-dita

    Weekly Downloads

    0

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    4.1 kB

    Total Files

    4

    Last publish

    Collaborators

    • michal.dabrowski.heretto
    • jarekkasza
    • sebastian-rembisz-heretto
    • matthallmanheretto
    • pboz
    • krystian.balwierz