Markdown ↔ [Document] conversion for the devup editor.
Implements [DocumentExport] and [DocumentImport] from devup-editor-core.
Supported block types: paragraph, heading (h1–h3), todo, list (bullet only), quote, code (fenced). Supported marks: bold, italic, code, strike.
Round-trip is not byte-perfect — Markdown is a lossy intermediate.