SwiftcordApp / Swiftcord

A fully native Discord client for macOS built 100% in Swift!
https://swiftcordapp.github.io/Swiftcord/
GNU General Public License v3.0
1.85k stars 84 forks source link

Add markdown styles for messages #180

Closed lucasromanomr closed 9 months ago

lucasromanomr commented 11 months ago

Apple's implementation of Markdown does not fully support the things that are usually sent by discord, mostly things related to Code / Code Block. Thus, an external library was added so that it has a complete rendering of Markdown elements: swift-markdown-ui

This PR depends on another that implements element sizes and also font sizes. https://github.com/SwiftcordApp/Swiftcord/pull/179

Images: Captura de Tela 2023-10-17 às 17 18 12ends on another that implements element sizes and also font sizes.

Captura de Tela 2023-10-17 às 17 18 05
cryptoAlgorithm commented 9 months ago

Hey, I apologise for the lack of activity within PRs and generally across the repository. Wondering if this was the reason this was closed? I've been quite busy for a while, and now I've resumed work on this project with a brand new client written from scratch. You can follow its progress in our Discord server, and I'd love to have this contribution ported over once the new client's ready!