{"repo":"gonzalezreal/textual","free":true,"listed":false,"github":"https://github.com/gonzalezreal/textual","clone":"git clone https://github.com/gonzalezreal/textual.git","description":"Render and customize rich attributed text in SwiftUI","language":"Swift","stars":842,"topics":["emoji","github-markdown","markdown","rich-text","swift","swiftui"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Textual Render and customize rich attributed text in SwiftUI. - Overview - Getting Started - Demos - Documentation - Installation - License Overview Textual is the spiritual successor to MarkdownUI, reimagined from the ground up to address the lessons learned from community feedback. While MarkdownUI focuses on Markdown rendering, Textual is designed as a SwiftUI text rendering engine that happens to support Markdown. This shift in perspective influenced every design decision. Textual preserves SwiftUI's Text rendering pipeline so you can get performance, composability, and automatic platform adaptations. The rendering flow transforms markup into attributed content, resolves attachments asynchronously, applies styling through environment values, and uses SwiftUI's layout system to position everything. Key features - Specialized views with InlineText for inline-formatted text and StructuredText for block-based documents - Native text selection with proper copy-paste support - Markdown support via Foundation's AttributedString built-in parser - Custom markup parser support through the MarkupParser protocol - Inline attachments that flow with the text, such as images and custom emoji - Math expressions rendered as inline or block attachments - Animated image support (GIF, APNG, WebP) - Syntax highlighting with customizable themes - Comprehensive styling for headings, code blocks, tables, links, lists, and more - Font-relative layout measurements that scale with text size and acc","default_branch":null,"files":null,"tree":[],"storefront":"/r/gonzalezreal","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gonzalezreal/textual/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}