Highlightr
SwiftRichString
Our great sponsors
Highlightr | SwiftRichString | |
---|---|---|
2 | 1 | |
1,593 | 3,053 | |
- | - | |
2.8 | 0.0 | |
about 1 month ago | 10 months ago | |
Swift | Swift | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Highlightr
-
A more programmer-friendly markdown notebook
raspu/Highlightr: Syntax highlighting capability.
-
How can I show some code in a view for the user, with correct formatting and colors, like in the app « Swift Animation Playground » for instance ?
Is this helpful? https://github.com/raspu/Highlightr
SwiftRichString
-
XMLText Library: SwiftUI Text from styled XML
For styling strings in my app, I have been using SwiftRichString library for UIKit with a UIViewRepresentable of UILabel, however I started having lots of problems with UILabel's layout when embedded in SwiftUI. So I decided to use parts of SwiftRichString to create a SwiftUI version of it. XMLText doesn't support links and images due to SwiftUI limitations, but hopefully those will come after SwiftUI improvements in the future.
What are some alternatives?
MarkdownKit - A simple and customizable Markdown Parser for Swift
Atributika - Convert text with HTML tags, links, hashtags, mentions into NSAttributedString. Make them clickable with UILabel drop-in replacement.
ZSSRichTextEditor - A beautiful rich text WYSIWYG editor for iOS with a syntax highlighted source view
SwiftyMarkdown - Converts Markdown files and strings into NSAttributedStrings with lots of customisation options.
Notepad - [iOS] A fully themeable markdown editor with live syntax highlighting.
TextAttributes - An easier way to compose attributed strings
Smile - :smile: Emoji in Swift
BonMot - Beautiful, easy attributed strings in Swift
Marklight - Markdown syntax highlighter for iOS
Apodimark
Twitter Text Obj - Twitter Text Libraries. This code is used at Twitter to tokenize and parse text to meet the expectations for what can be used on the platform.
TwitterTextEditor - A standalone, flexible API that provides a full-featured rich text editor for iOS applications.