Back to Cherry Studio

Components Reference

docs/references/components/README.md

2.0.8918 B
Original Source

Components Reference

This is the entry point for shared renderer component references — the code-block workbench and its Python execution path, the diagram preview family, and the data-ui semantic selector contract that spans all app-owned DOM.

DocumentWhat it covers
Code Block RenderingHow CodeBlock classifies Markdown content and CodeBlockView renders the fenced-code workbench across streaming states
Code ExecutionIn-browser Python execution via Pyodide in a Web Worker: UI, service, and worker layers
Image Preview ComponentsShared Mermaid / PlantUML / SVG / Graphviz preview components, toolbar, and the useDebouncedRender hook
UI Semantic ContractThe data-ui selector contract for themes, tests, and automation, and its build-time generation pipeline