Skip to content

3.2.0

Choose a tag to compare

@chrisdhaan chrisdhaan released this 31 May 18:49

3.2.0

Released on 2026-05-31.

Added

  • Added Swift 6 language mode (swiftLanguageModes: [.v6]) to Package.swift.
  • Added CDMarkdownTaskList element for parsing GFM task list items (- [ ] / - [x]).
  • Added CDMarkdownHorizontalRule element for parsing horizontal rules (---, ***, ___).
  • Added inline markdown parsing inside GFM table cells (bold, italic, links, inline code).
  • Added disabledElementTypes, disable(_:), and enable(_:) to CDMarkdownParser for opting out of individual default elements.
  • Added insertCustomElement(_:before:) and insertCustomElement(_:after:) to CDMarkdownParser for precise pipeline positioning.
  • Added accessibility attribute keys (cdMarkdownHeadingLevel, cdMarkdownIsCode, cdMarkdownIsBlockquote) and accessibilityAttributedString(from:) helper on CDMarkdownParser.
  • Added CDMarkdownNSLayoutManager, CDMarkdownNSTextView, and CDMarkdownNSLabel — AppKit UI components for macOS.
  • Added CDMarkdownText and CDMarkdownView — SwiftUI wrappers for iOS, tvOS, macOS, watchOS, and visionOS.
  • Added markdownParser SwiftUI environment key and .markdownParser(_:) view modifier.

Updated

  • Deprecated synchronous parse(_:) overloads in favour of the async overloads.