Skip to content

fix: render formulas and formatting in Gemini table cells - #2

Merged
kangjoseph90 merged 1 commit into
mainfrom
feat/table-cell-rendering
Oct 12, 2026
Merged

kangjoseph90 merged 1 commit into
mainfrom
feat/table-cell-rendering

Conversation

@kangjoseph90

Copy link
Copy Markdown
Owner

Gemini table cells could leave LaTeX such as $\alpha + \beta = -\frac{b}{a}$ literal and ignore configured colors for native bold text. Render existing td > span and th > span content with the shared streaming engine, and bump the extension/userscript to 5.0.4.

The preview attaches to Gemini's existing cell span, preserving the table, original text nodes, attributes, copy source, merged cells, and scrolling. Cell hosts receive the inline safety checks; widgets and unsupported content stay native. Bare cells without a supported host remain native. Moving a span out of a cell releases its projection.

Validation: all 64 tests pass, including six new table regressions for streaming/finalization, toggles, accessibility/selection, source/copy preservation, layout/scrolling, and native fallback. The real MV3 popup/storage test also covers table cells. Generated userscript consistency and git diff --check pass. Verified the installed 5.0.4 extension on the reported live Gemini table: both previously raw formulas render, configured bold color applies, and original table HTML is unchanged.

@kangjoseph90
kangjoseph90 merged commit 9b83bb5 into main Oct 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant