ZMarkupParser
ZMarkupParser copied to clipboard
ZMarkupParser is a pure-Swift library that helps you convert HTML strings into NSAttributedString with customized styles and tags.
This is an excellent library that meets all our needs except one: list formatting. For an unordered list like the following: ``` ZMarkupParser is a pure-Swift library that helps you...
Given the following HTML string `Tea & coffee`: when rendered we get: "**Tea & coffee**" when calling the `stripper()` method and rendered we get: "Tea \& coffee" I would expect...
Apple policy requires libraries that use personal information to apply a Privacy Manifest, and I'm wondering if ZmarkupParser is unrelated to this.
Still this can be marked as a question. In the app I mentioned in previous issue https://github.com/ZhgChgLi/ZMarkupParser/issues/54, it can render markdown inline code like a HTML inline-block. I find padding...
I'm currently exploring markdown rendering (to implement a ChatGPT like app) on iOS and find it's hard to implement a basic table in text view. However I found it's implemented...
I'm trying to control how paragraph spacing works and according to the README I should be able to use a `spacingPolicy` builder method but it doesn't exist. Looks like this...
Here is the example. ```swift import Combine import SwiftUI import ZMarkupParser struct MainView: View { @State var content = AttributedString("None") var body: some View { ScrollView { VStack { Text(content)...
This project implements various visitor classes that have methods for generating or rendering each type of markup. I'd like to switch these structs to be classes and add the ability...
Hi, I want know if you understand how to add events to a view inserted into attributed string, like a view with buttons. Example: ```swift import UIKit import Down class...
1. Fixes problems with custom fonts not loading correctly according to "familyName". To specify a font it is necessary to use its "fontName" 2. Minor behaviour modification when adding the...