Skip to content

Swift-GFM 1.1.0

Latest

Choose a tag to compare

@ThorFuchs ThorFuchs released this 19 Nov 22:02
9a4176b
  • Add MarkdownEngine.renderRecognizingMath(_:), an opt-in HTML document
    stream that carries inline and display TeX separately for a caller-provided
    renderer. It preserves the captured formula spelling without requiring
    KaTeX. The standard cmark render and parse profiles remain unchanged.
  • Document the math profile's delimiter rules, safe insertion positions and
    fallback behavior. Math is not recognized in table cells, code or image
    descriptions; unsafe raw HTML and NUL input are rejected by this profile.