Documentation tooling

CHM Markdown Transpiler

Convert a compiled Windows help file into a Markdown project and generate a documentation site.

Recover the structure

A usable migration needs page titles, a contents tree, internal links and embedded assets. The toolchain extracts the archive into a neutral project and emits a VitePress site.

Source archive

bench.chm
Bench Notes
Sample reading

Markdown project

Two pages
Tolerance anchor
Range image

Documentation site

VitePress
Navigation and readable source

Reproduce the conversion

The sample is an original two-page mock meter manual. The generated documentation keeps the link to the tolerance heading and this range image.

A sample reading inside the tolerance range
npx --yes @chm-md/[email protected] convert bench.chm -o converted
npx --yes @chm-md/[email protected] doctor converted --summary
npx --yes @chm-md/[email protected] emit vitepress converted -o docs