Fix markdown generator to combine type definitions into unified code blocks
Instead of rendering each constructor as a separate code block with
interleaved prose documentation, combine them into a single code block
with inline doc comments ((** ... *)). This produces much more coherent
output for LLM consumption.
Cherry-picked from jonludlam/odoc@6ed5e8ea9
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>