What is SwiftyMarkdown?
masterSwiftyMarkdown is a library that converts Markdown files and strings into NSAttributedStrings. It uses sensible defaults and a Swift-style syntax. It leverages dynamic type to ensure font sizes are set correctly based on the font you choose.
Key features include:
- Support for Dark Mode out of the box (uses system color
.labelon iOS 13+). - Support for images stored in the app bundle using the syntax
. - Support for codeblocks, blockquotes, and unordered lists.
- Paragraph alignment for line-level attributes (e.g.,
h2.alignment = .center). - Option to underline links by setting
underlineLinks = true.