Sextant
swift-markdown
Sextant | swift-markdown | |
---|---|---|
1 | 9 | |
45 | 2,598 | |
- | 1.3% | |
6.4 | 6.3 | |
about 2 months ago | 7 days ago | |
Swift | Swift | |
MIT License | Apache License 2.0 |
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.
Sextant
-
What’s everyone working on this month? (February 2022)
I'm finishing up Sextant, a full & compliant JSONPath implementation for Swift. You can play with it online here or just drop it in your project using SPM.
swift-markdown
-
Rendering Markdown as HTML? Swift Markdown only seems to provide a markdown parser and an AST https://github.com/apple/swift-markdown
Hi, https://github.com/apple/swift-markdown seems like the most promising package for parsing markdown as it comes from apple I expect it to be supported. But it seems to not have functionality for converting markdown to HTML (at least I did not spot it). Is there a corresponding library? Or would I have to implement this myself?
-
How do we get utf8Offset for String.Index?
I'm trying to work with swift-markdown. The documentation for it's SourceLocation struct says, the columns contained within are the number of bytes offset in utf8 to the character in a string.
-
Discussion Thread
Yeah I just use GitHub’s cmark-gfm. Apple wrapped it in a Swift-based library. https://github.com/apple/swift-markdown
-
Will there always be markdown and normal text editor apps (.txt or rich text) that can open, read, create, and render markdown on iOS and Android and any other mobile operating systems in the future? Would it be easy for someone to create and program a markdown app?
There is apple's library for parsing Markdown. https://github.com/apple/swift-markdown
-
Apollo is finding links where there shouldn't be any
That's a very good find. It looks like Apple's Markdown renderer is interpreting those as links, hrmmm
-
What’s everyone working on this month? (February 2022)
Pure SwiftUI so far (except for the custom Markdown editor using swift-markdown) with iCloud syncing.
-
Merry Christmas from Apollo/me!! 🎅 Santapollo is here and has lots of presents for you in the form of updates via Apollo version 1.12! Inline table rendering, syntax highlighting, better r/random support, YouTube scrubbing, Doomscroll Defeater, Wikipedia previews, enhanced zoom, and more!! ❄️☃️🎄
Apollo moved from a much older Markdown renderer (the text formatting system Reddit uses to let you format your text) to a new one Apple recently open sourced as part of iOS 15 https://github.com/apple/swift-markdown/
-
Could we get support for tables being shown inline, rather than having to tap on each one as a link? (Could be like this and would be very handy) Oh wait, this is actually a screenshot of exactly that it in the next version of Apollo? No cap that's straight fire cuz
(Shoutout to Apple for open sourcing their Swift Markdown parsing engine which was an enormous help in being able to build this.)
- Swift Markdown: A package for parsing, building, editing, and analyzing Markdown
What are some alternatives?
SwiftyJSON - The better way to deal with JSON data in Swift.
BedrockFinder
JASON - Fast JSON parsing for Swift
Maaku - The Maaku framework provides a Swift wrapper around cmark with the addition of a Swift friendly representation of the AST
Tailor - :necktie:A super fast & convenient object mapper tailored for your needs
AlamofireObjectMapper - An Alamofire extension which converts JSON response data into swift objects using ObjectMapper
Genome - A simple, type safe, failure driven mapping library for serializing JSON to models in Swift 3.0 (Supports Linux)
Decodable - [Probably deprecated] Swift 2/3 JSON unmarshalling done (more) right
Marshal - Marshaling the typeless wild west of [String: Any]
SwiftJSONParser - Parse JSON like a badass
Gloss - [Deprecated] A shiny JSON parsing library in Swift :sparkles: Loved by many from 2015-2021
JSONCodable - Hassle-free JSON encoding and decoding in Swift