Skip to content

RichTextView 0.1.1

Choose a tag to compare

@FeliksLv01 FeliksLv01 released this 20 Sep 15:20
· 6 commits to main since this release

Changes

  • Render inline and display formulas as native RichLatexElement content without per-formula UILabel attachments.
  • Preview incomplete LaTeX groups and environments during streaming; preserve the last valid formula when a preview cannot be parsed.
  • Upgrade the static iosMath binary to 2.5.0.2, including nested boxed formulas, scripts and Unicode text.
  • Reuse unchanged render elements and text layouts using semantic equality and builder/resolver inputs.
  • Add a LaTeX Example page with character-by-character replay, expand the README math guide, and refresh screenshots.

Migration

revision and the document reconciler have been removed. Node content conforms to Equatable; custom builders and presentation resolvers supply a Hashable inputs value. Retain one renderer per stream and pass streaming: true while generating, then false for the final update. RichMathElementBuilder is replaced by RichLatexElementBuilder.

Validation

51 Swift package tests passed. CocoaPods Core and Markdown validation passed. The Example builds for device and simulator; its formula page and replay were verified on a simulator. Recorded-stream replay in Nook passed.