feat(android): add GFM streaming support for tables and block math#271
Merged
hryhoriiK97 merged 4 commits intofeat/ios-gfm-streaming-segmentsfrom Apr 28, 2026
Merged
Conversation
…streaming-segments
hryhoriiK97
added a commit
that referenced
this pull request
Apr 28, 2026
* feat(ios): improve GFM streaming for tables and math * feat(ios): improve GFM streaming for tables and math * refactor(ios): change segment signature type from NSString to uint64_t for improved performance * refactor(ios): enhance segment view reconciliation with two-pass matching strategy * docs(ios): add comments to ShadowMeasurementUtils.h explaining measureContent behavior * refactor(ios): move inline functions from StreamingMarkdownFilter.h to StreamingMarkdownFilter.m * refactor(ios): consolidate measurement logic for EnrichedMarkdown components into reusable functions * refactor(ios): replace boolean flags with bitmask for segment rendering state management * refactor(ios): optimize segment view reconciliation by tracking remaining signatures for reuse * feat(ios): add streamingConfig with progressive table mode for GFM streaming * feat(android): add GFM streaming support for tables and block math (#271) * feat(android): add GFM streaming support for tables and block math * feat(android): implement table streaming mode for GFM support in EnrichedMarkdown * refactor(ios): streamline line offset calculations in StreamingMarkdownFilter * docs: update API reference and markdown streaming documentation to include for GFM table handling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What/Why?
Ports the iOS GFM streaming approach (#270) to Android.
Introduces the same segment-based architecture: streaming filter, FNV-1a signatures, and 4-step view reconciliation. Aligns Android measurement with the streaming filter so Yoga layout height tracks rendered content reliably, and serializes the streamingAnimation prop through the C++ bridge to ensure the measurement path applies the same filtering as the view layer.
Static GFM behavior remains unchanged.
Testing
PR Checklist