feat(ui): render markdown in peek pane

- Add marked.js for full markdown rendering
- Stream peek body renders as markdown
- Card peek non-code content renders as markdown
- Code/snippet cards keep escaped pre/code display
- Styled: headers, lists, blockquotes, inline code, code blocks, links, hr
- Graceful fallback to escHtml if marked fails to load
This commit is contained in:
2026-05-16 19:47:53 -04:00
parent 4c3cdc55c6
commit b456dca4b3
3 changed files with 92 additions and 2 deletions
+1
View File
@@ -82,6 +82,7 @@
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/marked@15/marked.min.js"></script>
<script src="/app.js"></script>
</body>
</html>