Down

screenshot of Down

Blazing fast Markdown / CommonMark rendering in Swift, built upon cmark.

Overview

DownBuild is a powerful Markdown rendering library that harnesses the speed of cmark, making it stand out in the realm of Swift applications across various platforms including macOS, iOS, tvOS, and Linux. With its MIT license, it's a versatile tool for developers looking to implement high-performance Markdown rendering with ease. As the new primary maintainer, John Nguyen carries forward the legacy originally established by Rob Phillips, ensuring ongoing support and development.

From personal projects to complex applications, DownBuild provides a robust solution for those needing efficient Markdown processing. Its significant performance benchmark, along with flexibility in output formats, makes it an attractive choice for developers wanting a reliable Markdown renderer in Swift.

Features

  • Blazing Fast Performance: Capable of rendering large Markdown documents quickly, achieving speeds of just 127 milliseconds for extensive texts, outperforming traditional Markdown processors significantly.

  • Multiple Output Formats: Supports a variety of output formats including HTML, XML, LaTeX, groff man, CommonMark Markdown, NSAttributedString, and AST, ensuring compatibility with various project requirements.

  • Easy Integration with CocoaPods: Installation is straightforward via CocoaPods, making it accessible for developers to add to their Swift projects seamlessly.

  • Robust Parsing API: The Down struct provides an out-of-the-box setup for converting Markdown strings into usable formats while allowing for deeper customization if needed.

  • Customizable Rendering: DownView class enables custom configurations for rendering, providing developers with a simple way to adapt to specific output needs.

  • Fuzz-tested Reliability: Extensively tested for resilience against complex scenarios, ensuring dependable performance even under challenging conditions.

  • Strong Community Support: Maintained by an active group of contributors, which means continuous improvements and updates derived from user feedback and collaboration.