Skip to content

A simple articles UI for using MarkdownUI. Inspired by the Apple Health App.

Notifications You must be signed in to change notification settings

Setgraph-LLC/SwiftUIArticles

Repository files navigation

SwiftUIArticles

SwiftUIArticles uses MarkdownUI to create an UI for articles. It takes inspiration from the Apple Health app articles. In keeping with that theme, horizontal images work best. The preview image's height will be slightly shorter than the full article image.

Create your content using the Article struct and feed it into the views you want to use.

ArticlePreview

ArticlePreview can be used to preview the content of your article.

ArticleView

ArticleView is the where the full content of the article can be seen. Feel free to use it in a navigation view or a sheet.

About

A simple articles UI for using MarkdownUI. Inspired by the Apple Health App.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages