How I Converted Thousands of Markdown Files to DITA XML Using TypeScript
This story happened in mid-2023. I finally found enough free time to write about it. Manually converting Markdown to DITA isn’t fun I used to work for a tech company that used DITA XML for its documentation. For reasons I cannot discuss due to NDAs, about five products used MkDocs for their documentation instead of DITA. Running both systems in parallel seemed fine at first. However, it eventually caused problems when we started integrating those products with the rest of our portfolio, which used DITA for documentation. We needed to reuse content and keep it synchronized, which meant manually recreating most things. After a few weeks of manually copy-pasting content, my manager decided we should migrate everything to DITA XML. ...