Skip to content

fix: markdown notes#10

Merged
baxen merged 1 commit intomainfrom
baxen/markdown
Feb 7, 2026
Merged

fix: markdown notes#10
baxen merged 1 commit intomainfrom
baxen/markdown

Conversation

@baxen
Copy link
Collaborator

@baxen baxen commented Feb 7, 2026

Replaces the custom regex-based markdown renderer in the note viewer with marked and DOMPurify, fixing rendering bugs and adding support for the full GitHub Flavored Markdown spec.

Replace the hand-rolled regex-based markdown renderer in NoteViewerModal
with the marked library + DOMPurify sanitization, matching the approach
already used by StreamingMessages and LiveSessionView.

This fixes rendering issues with complex markdown (nested lists, ordered
lists, blockquotes, tables, etc.) and adds CSS styles for the additional
HTML elements that marked produces.
@baxen baxen requested a review from wesbillman as a code owner February 7, 2026 01:17
@baxen baxen merged commit 934a6bb into main Feb 7, 2026
2 checks passed
@baxen baxen deleted the baxen/markdown branch February 7, 2026 01:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant