Repository navigation
Releases: FeliksLv01/RichTextView
Release list
RichTextView 0.1.4
Fixed
- LaTeX formulas now resolve their text color when drawing, so existing cached formulas follow light and dark appearance changes without rebuilding their layout.
The package continues to fetch its binary dependencies from the URLs in Package.swift.
0.1.3
What's Changed
- Keep incomplete emphasis and math source literal during streaming instead of rendering speculative intermediate styles.
- Render viewport tiles asynchronously and notify hosts after the new frame is installed.
- Fix clipped formulas and fit oversized inline formulas within the available width.
- Reduce repeated attributed-string fingerprint work during incremental layout.
0.1.2
What's Changed
- Add compact code blocks with wrapped lines, a 15-line preview, and full-code actions.
- Add theme-aware code block headers, borders, syntax highlighting previews, and localized actions.
- Improve streaming fenced-code parsing and preserve stable code block rendering while content arrives.
- Render long documents by viewport to reduce offscreen work.
RichTextView 0.1.1
Changes
- Render inline and display formulas as native
RichLatexElementcontent 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.
RichTextView 0.1.0
Initial public release with streaming Markdown rendering, native centered block math, syntax highlighting, tables, balanced nested-list markers, and a static iosMath dependency.