Simplify message cache pruning and diff/markdown initialization

This commit is contained in:
Shantur Rathore
2025-12-01 17:47:20 +00:00
parent 1e7969eaba
commit fd23ea54b6
3 changed files with 37 additions and 107 deletions

View File

@@ -29,7 +29,8 @@ export function Markdown(props: MarkdownProps) {
latestRequestedText = text
await initMarkdown(dark)
// Markdown initialization is now handled globally in App.
// initMarkdown is idempotent but we avoid per-part calls here.
if (!highlightEnabled) {
part.renderCache = undefined