{"repo":"hebertialmeida/MarkdownSyntax","free":true,"listed":false,"github":"https://github.com/hebertialmeida/MarkdownSyntax","clone":"git clone https://github.com/hebertialmeida/MarkdownSyntax.git","description":"☄️ A Type-safe Markdown parser in Swift.","language":"Swift","stars":77,"topics":["markdown","ast","syntax-tree","syntax-highlight","unist","mdast","swift","cmark","markdown-parsing"],"license":"MIT","category":"productivity","readme_excerpt":"☄️ MarkdownSyntax MarkdownSyntax is a wrapper on top of the GitHub Flavoured Markdown that conforms to mdast. It parses markdown and creates a normalized AST so you can use it not only for rendering markdown and syntax highlighting. In addition, you can render to standard markdown formats: HTML, XML, Man, LaTeX, Plain Text. If you want to see a real-world usage of MarkdownSyntax, check out https://pinery.app where this framework was designed for. Usage Outputs a normalized tree: For more examples checkout the tests MarkdownSyntaxTests. Installation Swift Package Manager The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler. Once you have your Swift package set up, adding MarkdownSyntax as a dependency is as easy as adding it to the dependencies value of your Package.swift . Acknowledgements - swift-cmark - libcmark gfm","default_branch":null,"files":null,"tree":[],"storefront":"/r/hebertialmeida","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hebertialmeida/MarkdownSyntax/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}