/** * Markdown to the HTML a word processor will take. * * ## Why this exists at all * * The transcript on screen is *rendered* markdown: a table is box-drawing * characters, a code block is a bordered panel, a heading is a coloured chip, a * long line is hard-wrapped to the terminal's width. Selecting that with the * mouse and pasting it into Word or Confluence pastes exactly what it looks * like — dotted rules, broken table edges, wrapping frozen at eighty columns — * because the terminal's clipboard carries glyphs and nothing else. * * What the user wanted to copy is the *structure*, and the structure is still * in the markdown the model wrote. So the copy path goes back to that source * and offers it twice: the markdown itself as plain text, and this, as HTML, * for anything that knows how to take a rich paste. Word turns `