Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 923 Bytes

README.md

File metadata and controls

30 lines (25 loc) · 923 Bytes

Markdowntown

Markdowntown is a simple but flexible library to convert Markdown into an NSAttributedString. It uses Apple's new Swift Markdown library to navigate through a Markdown tree and convert elements into a styled attributed string. A default set of styles are applied for quick out-of-the-box usage, but a stylesheet can be applied giving full control over how each element is styled.

Features

  • a simple API for quick rendering
  • flexible stylesheet allowing customization of each Markdown element

Supported Elements

  • Paragraphs
  • Text
  • Emphasis
  • Strong
  • Inline Code
  • Code Block
  • Links
  • Unordered Lists
  • Unordered Lists (Checkboxes)
  • Ordered Lists
  • Headings
  • Block Quote
  • Thematic Breaks
  • Strikethrough
  • Tables
  • Images
  • Symbolic Link
  • Custom Blocks
  • HTML Blocks