gonzalezreal / swift-markdown-ui

Display and customize Markdown text in SwiftUI
MIT License
2.53k stars 318 forks source link

Conflict with swift-markdown #206

Closed Mx-Iris closed 1 year ago

Mx-Iris commented 1 year ago
iShot_2023-03-29_01 04 02

What should I do if I want to use both packages for my project ?

gonzalezreal commented 1 year ago

This is a known issue. Both packages use the cmark-gfm library to parse Markdown. A possible solution would be to adopt swift-markdown to parse the Markdown content instead of using cmark-gfm directly. Unfortunately, swift-markdown doesn't follow a semantic versioning strategy like swift-markdown-ui. We would need to depend on the main branch to use it, which would disable semantic versioning in swift-markdown-ui (package resolution fails if you require a package version that depends on an unversioned package).

gonzalezreal commented 1 year ago

I am closing this issue as it fits better in the Discussions section. If you want to follow up on this, please open a new discussion.