Lensflare
· Level 574
devlog
Markdown in the iOS app
SwiftUI does support markdown, but only a small subset of it 🤦♂️
So, using a 3rd party lib again... https://github.com/gonzalezreal/swift-markdown-ui
Checking a few examples:
- a list item
- another item
someone said something
responding to someone saying something
an inline piece of code
a code block
with multiple lines
Some italic and some bold text.
Table test:
| Syntax | Description |
|---|---|
| Header | Title |
| Paragraph | Text |
3
Comments
custom markdown theme based off of github
Nice, but does my API not respond with the related messages? 😊
huh? what do you mean, related messages? the comments? I havent implemented them yet.
Yeah, just like the posts page of this site. You should not fetch the comments for each post. That will never be fluent 😒.
@Lensflare does it render table? 😊 GitHub Flavored Markdown does, I guess..
yes. I't ugly though. Probably missing a style.
Moah, a little bit padding and header background color and it's fine, I think 😅. Tables are hard to render if they use much spacing.
Interesting stats.
@Lensflare I am happy that you like Devii, but have you actually ever seen how beautiful the documentation is with executable code? https://pravda.education/docs/content.html
It is a complete book. 😊
it definitely is beautiful
@niggel iOS app for DevPlace is in development! 😄