# ZMarkupParser **Repository Path**: Tony_Smith/ZMarkupParser ## Basic Information - **Project Name**: ZMarkupParser - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-08-16 - **Last Updated**: 2025-08-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ![ZMarkupParser](https://user-images.githubusercontent.com/33706588/219608966-20e0c017-d05c-433a-9a52-091bc0cfd403.jpg)

awesome

ZMarkupParser is a pure-Swift library that helps you convert HTML strings into NSAttributedString with customized styles and tags. ## Technical Details: - \[Chinese\] [Development Notes](https://medium.com/zrealm-ios-dev/zmarkupparser-html-string-%E8%BD%89%E6%8F%9B-nsattributedstring-%E5%B7%A5%E5%85%B7-a5643de271e4) - \[English\] [Development Notes (translated using ChatGPT)](https://en.zhgchg.li/posts/2724f02f6e7/) - \[English\] [Brief Introduction to Operation](https://github.com/ZhgChgLi/ZMarkupParser/blob/main/technicalDetail.md) ## Features - [x] Parse HTML strings using pure-Swift and regular expressions. - [x] Automatically correct invalid HTML strings, including mixed or isolated tags (e.g., `LinkLinkBoldBold
` -> `LinkLinkBoldBold
`). - [x] More compatible with HTML tags than a parser that is based on XMLParser. - [x] Customizable HTML tag parser with painless extended tag support and the ability to customize tag styles. - [x] Support for HTML rendering, stripping, and selecting. - [x] Support for `