Skip to content

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

Merged
WilliamAGH merged 1 commit into
devfrom
detail/fix-docs/docs-update-client-side-markdown-processing-for-sv-107ab3
Jul 17, 2026
Merged

docs: update client-side markdown processing for Svelte frontend#75
WilliamAGH merged 1 commit into
devfrom
detail/fix-docs/docs-update-client-side-markdown-processing-for-sv-107ab3

Conversation

@detail-app

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-appBot requested a review from WilliamAGHJuly 13, 2026 16:40
@detail-app
detail-appBotforce-pushed the detail/fix-docs/docs-update-client-side-markdown-processing-for-sv-107ab3 branch from 364c1c4 to 747a7e4CompareJuly 16, 2026 21:59
@WilliamAGH
WilliamAGH merged commit 4c73864 into devJul 17, 2026
2 checks passed
Sign up for freeto 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

@WilliamAGH