ZhgChgLi / ZMarkupParser

ZMarkupParser is a pure-Swift library that helps you convert HTML strings into NSAttributedString with customized styles and tags.
https://link.zhgchg.li/
MIT License
311 stars 24 forks source link

Better formatting for lists #60

Closed pykaso closed 5 months ago

pykaso commented 5 months ago

Added a new MarkupStyleListStyle that allows you to edit the list formatting options.

example:

Screenshot 2024-05-28 at 6 23 06
zhgchgli0718 commented 5 months ago

Based on the PR, I gained a lot of inspiration regarding HTML list formatting. As a result, I studied the entire problem and proposed a more comprehensive fix and solution.

61

zhgchgli0718 commented 5 months ago

I have opened a new PR that aligns better with the structure of ZMarkupParser. Thank you for your contribution.