/** * plan block rendering — markdown subset → HTML, server side. * * Why not a markdown library: the UI only needs to show prose, headings, lists, * code and tables of a document our own agent wrote, and a dependency here * would ship a parser (and its transitive surface) to every user of the * extension. Why not render in the browser: then the escaping rules live in a * second implementation that the test suite cannot reach. * * Everything is escaped first; the transformations below only ever insert * markup, so a plan that contains `