Repository navigation
Exporters render through programs; Typst exports live - #156
Merged
Merged
Conversation
thomasjm
marked this pull request as ready for review
November 11, 2026 09:10
thomasjm
force-pushed
the
export-wrappers
branch
from
November 11, 2026 10:11
7537c27 to
20ff526
Compare
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.
Stacked on
latex-notebooks(#153), and that branch needs this one: it pins lsp-export-server 0.4.1.2, whose release is gone, so the pin moves to 0.1.0.0 here.The export server no longer has LaTeX or pandoc backends, so each exporter supplies the program that renders:
latex-render,pandoc-render,typst-render. A tweak to engine flags, pandoc writers or Slidy arguments is now a change here rather than a server release.Typst gains a
typst-export-serverlanguage server, so its PDF, PNG, SVG and HTML exports update as you type instead of waiting for the file-saver, the mount invalidation and the debounce. It was the last exporter still reading its input from disk. The tinymist live preview is unchanged.A serve-mode smoke test per export server covers what each wrapper must do: write the output, report its dependencies, and set the epoch so unchanged input gives unchanged bytes.
Checked against an environment with all three exporters built from the 0.1.0.0 release: LaTeX, pandoc (slidy and pdf) and Typst (pdf, png, svg, html) each send a full render and then a diff after an edit, and the one-shot
renderpath still works for every exporter.