A high-performance iOS Markdown rendering component with streaming support for AI chat interfaces.
MarkdownDisplayView is an iOS library that renders Markdown text with high performance and streaming capabilities. It solves the need for smooth, real-time display of AI-generated Markdown content in chat interfaces while providing extensive styling options.
iOS developers building applications that display Markdown, particularly those integrating AI chat features or requiring rich text rendering with custom theming.
Developers choose MarkdownDisplayView for its TextKit 2-based performance, native streaming support for AI responses, and deep customization that surpasses basic Markdown renderers.
A view for display markdown text.support markdown streaming like gpt&claude&gemini&deepseek
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Built on TextKit 2 with asynchronous and incremental rendering, delivering ultra-fast first-screen loading and low CPU usage—peaking under 56% on iPhone 17 Pro simulator in streaming mode.
Supports real-time streaming with smart buffering, typewriter effects, and haptic feedback, specifically designed for smooth LLM response display as shown in demo GIFs with models like DeepSeek.
Handles LaTeX formulas, tables, code blocks with syntax highlighting for 20+ languages, and allows custom extensions like Mermaid diagrams via MarkdownCodeBlockRenderer protocol.
Offers extensive configuration for fonts, colors, spacing, and even haptic feedback styles, enabling precise theming beyond basic Markdown renderers.
Requires iOS 15.0 or higher due to TextKit 2, limiting compatibility with older devices and excluding apps that need broader iOS version support.
Adding custom syntax or renderers involves implementing multiple protocols (parser, view provider, action handler) and careful registration, which can be steep for simple use cases.
CocoaPods installation depends on swift-markdown from GitHub source, not trunk, and build errors occur on macOS due to iOS-only platform support, adding setup friction.