gonzalezreal / swift-markdown-ui

Display and customize Markdown text in SwiftUI
MIT License
2.25k stars 267 forks source link

Refactor Markdown parsing and implement the `renderMarkdown()` method. #210

Closed gonzalezreal closed 1 year ago

gonzalezreal commented 1 year ago

This PR includes a much-needed refactor on the Markdown parsing, adding utility methods to rewrite the AST and to render Markdown-formatted text from it.

Additionally, I have changed the project organisation a bit to make it more manageable.