Markdown-to-HTML renderer for the aggregated article.
Uses markdown-it with a focused plugin stack:
markdown-it-anchor — slugged ids on every heading
markdown-it-footnote — footnote reference support for artifacts
markdown-it-attrs — {.class #id} suffixes for table/fence styling
markdown-it-deflist — definition lists in stakeholder artifacts
A custom fence override transforms ```mermaid blocks into
<pre class="mermaid" role="img" aria-label="...">…</pre> so the
vendored client-side mermaid.esm.min.mjs (shipped under js/vendor/)
can progressively enhance them. No network calls, no inline script,
CSP script-src 'self' preserved.
Description
Markdown-to-HTML renderer for the aggregated article.
Uses
markdown-itwith a focused plugin stack:markdown-it-anchor— sluggedids on every headingmarkdown-it-footnote— footnote reference support for artifactsmarkdown-it-attrs—{.class #id}suffixes for table/fence stylingmarkdown-it-deflist— definition lists in stakeholder artifactsA custom fence override transforms
```mermaidblocks into<pre class="mermaid" role="img" aria-label="...">…</pre>so the vendored client-sidemermaid.esm.min.mjs(shipped underjs/vendor/) can progressively enhance them. No network calls, no inline script, CSPscript-src 'self'preserved.