Skip to content

docs: update client-side markdown processing for Svelte frontend#75

Open
detail-app[bot] wants to merge 1 commit into
devfrom
detail/fix-docs/docs-update-client-side-markdown-processing-for-sv-107ab3
Open

docs: update client-side markdown processing for Svelte frontend#75
detail-app[bot] wants to merge 1 commit into
devfrom
detail/fix-docs/docs-update-client-side-markdown-processing-for-sv-107ab3

Conversation

@detail-app

@detail-app detail-app Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

The client-side processing documentation referenced deleted files
(chat.html, guided.html, markdown-utils.js) and described a server-first
fallback pattern that no longer exists. Updated to reflect the current
Svelte frontend architecture using parseMarkdown() with streaming-aware
parsing, Java language detection, and DOMPurify sanitization.

Also added missing JSDoc for the isStreaming parameter in parseMarkdown(),
which is critical for proper streaming-aware markdown handling.

Example: Without this fix, a developer following the docs would look for
markdown-utils.js which no longer exists, or assume server round-trips
during streaming when the client handles markdown locally.

Introduced by commit e35ef82 (@WilliamAGH)


Doc Drift PRs can be configured here.

@detail-app detail-app Bot requested a review from WilliamAGH July 13, 2026 16:40
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.

0 participants