1. 2022-6-20
    2. 2022-3-13

    Markdown

    Swift Markdown is a Swift package for parsing, building, editing, and analyzing Markdown documents.

    import Markdown

    Overview

    The parser is powered by GitHub-flavored Markdown’s cmark-gfm implementation, so it follows the spec closely. As the needs of the community change, the effective dialect implemented by this library may change.

    The markup tree provided by this package is comprised of immutable/persistent, thread-safe, copy-on-write value types that only copy substructure that has changed. Other examples of the main strategy behind this library can be seen in Swift’s lib/Syntax and its Swift bindings, SwiftSyntax.

    Topics

    Getting Started

    Essentials

    Markup Types

    Infrastructure

    Visit Markup

    Members

    Typealiases

    Enumerations

    Structures

    Protocols