prompt_html = text_prompts
.map(
(t) =>
(t.prompt &&
`<h3><a href="https://github.com/Explosion-Scratch/apple-intelligence-prompts/tree/main/${
t.path
}">${t.id}</a>: ${t.description}</h3><code>${escapeHtml(
t.prompt
)}</code>`) ||
""
)
.join("</p><p>")
.replaceAll(/<n>/g, "<br>")