Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/youjinp/down
https://github.com/youjinp/down
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/youjinp/down
- Owner: youjinp
- Created: 2021-05-15T05:53:39.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-27T23:50:03.000Z (over 2 years ago)
- Last Synced: 2023-03-06T00:46:48.915Z (almost 2 years ago)
- Language: C
- Size: 280 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Down
A description of this package.
## Parse Markdown String
```swift
Down.parse("*A* **markdown** string ![prettyImage][www.google.com]")
```## Render Node
```swift
node.render(with: ARenderer)
```## Build Node
```swift
Document(
Text("...")
...
)
```## References
- [down](https://github.com/johnxnguyen/Down)
- [reverse renderer](https://github.com/commonmark/cmark/issues/99)
- [builder](https://github.com/jgm/cmark-lua/blob/master/cmark/builder.lua)
- [github-gfm](https://github.com/github/cmark-gfm)
- [commonmark](https://github.com/commonmark/cmark)
- [swiftCommonMark](https://github.com/gonzalezreal/SwiftCommonMark)## TODO
- use github-gfm and support strikethrough