Repository navigation
feat(desktop): render inline and display TeX natively - #187
Merged
Merged
Conversation
# Conflicts: # docs/README.md # docs/design/app.md # docs/specs/ui.md # go.mod # internal/desktop/reading/view.go
bketelsen
changed the base branch from
fix/desktop-editor-review
to
feat/native-line-styles
November 11, 2026 07:47
This was referenced Nov 11, 2026
6 tasks done
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.
Summary
Render inline and display TeX in reading views and live preview with native vector glyph paths. Selected lines reveal their source. Invalid, unsupported, or oversized expressions retain source; formulas use a bounded per-view cache and the theme's text color.
Closes #147. Stacked on #188.
Risk tier
Risk tier: 3 — matched L1 paths
internal/desktop/editor/live.goandinternal/desktop/reading/view.go. The renderer is pure Go, runs no note script or external process, and receives bounded source. Generated SVG is size-bounded and drawn by MyGo. The module is pinned; Flatpak sources are regenerated.Docs housekeeping
ADR-0041 records the renderer choice, starts from the ADR template, is indexed and linked both ways with design, spec and plan.
Verification
mise exec -- make checkandmake desktop-buildpassed on the final implementation.Merge order
Stacked on #188; merge that PR first, then retarget this PR to
main. Preserve ancestry with merge commits, or rebase the remaining branches after a squash merge. Full order: #181 → #182 → #183 → #184 → #185 → #186 → #188 → #187 → #189 → #190.The final branch contains the combined fixes. CI and Flatpak workflows were dispatched on that branch because PR CI is restricted to a
mainbase.