Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

MarkdownText powered by swift-markdown #77

Closed
shaps80 opened this issue Sep 16, 2022 · 5 comments
Closed

MarkdownText powered by swift-markdown #77

shaps80 opened this issue Sep 16, 2022 · 5 comments

Comments

@shaps80
Copy link

shaps80 commented Sep 16, 2022

Just wanted to say thanks for open sourcing this. 馃憦

This enabled me to build a really cool open source package MarkdownText that provides similar support to Apples iOS 15+ Text markdown support.

But it works back to iOS 13+ and macOS 11+ and even includes a lot of styling APIs.

Bit of a shameless plug but wanted to mention it here in case it's useful to anyone else.

  • Headings
  • Paragraphs
  • Quotes
  • Inline formatting
    • Strong/Bold
    • Emphasis/Italic
    • Strikethrough
    • Code
    • Links (non interactive only)
  • Lists
    • Ordered
    • Unordered
    • Checklist (GitHub style)
  • Thematic Breaks
  • Code Blocks
  • Images

A full backport of AsyncImage is included to make image support simple and performant.

Since it's pure SwiftUI you can even easily animate content which is a nice plus.

@shaps80
Copy link
Author

shaps80 commented Sep 16, 2022

On a side note I noticed the library doesn't currently support ordered list indexes that don't start from 1. Would be amazing if this could be added 馃憤馃憤

@QuietMisdreavus
Copy link
Contributor

"Ordered lists that don't start from 1" is being added in #22 鉁岋笍

Thanks for the shoutout!

@QuietMisdreavus
Copy link
Contributor

Is there another bug report you wanted to include? You might get a better reach for your project if you post about it in the Swift Forums instead of a GitHub issue.

@shaps80
Copy link
Author

shaps80 commented Sep 17, 2022

Good shout thanks, will do!

@QuietMisdreavus
Copy link
Contributor

I'm going to close this since it's not a bug report or feature request. If you have something you'd like to see in Swift-Markdown, definitely let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants