Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Quarto Synced ReviewNew to Visual Studio Code? Get it now.
Quarto Synced Review

Quarto Synced Review

Andrey Chetverikov

| (0) | Free
Edit, comment on and review tracked changes in the rendered Quarto HTML, which scrolls in sync with its source.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Quarto Synced Review

Work on a Quarto (.qmd) or Markdown (.md) document beside its rendered HTML. The two panes scroll together, and from the preview you can jump to the source, edit text, add comments and review tracked changes.

https://github.com/user-attachments/assets/4797ed5b-aafe-42d0-b2a2-72bbca1f6695

A manuscript's Methods section: the Quarto source with a figure and a numbered equation on the left, and the same section rendered in the synced preview on the right

Installation

  1. Install VS Code 1.85 or later and the Quarto CLI.
  2. Download Quarto Synced Review 0.0.29, press F1 in VS Code, choose Extensions: Install from VSIX… and select the file.
  3. Optional, but the two work best together: install CriticMarkup VSC-plus. It colors tracked changes and comments in the source and accepts or rejects them there, while this extension shows them on the rendered page.

Use

Open a saved .qmd or .md file, press F1 and choose:

  • Quarto Synced Review: Open to the Side shows <name>.html beside the source, rendering it first if it does not exist. The preview reloads whenever the HTML changes, whoever renders it.
  • Quarto Synced Review: Watch and Render on Save also re-renders on every save (with quarto preview). 👁 Watch in the preview turns this on and off.

In the preview:

  • Scroll either pane and the other follows. Headings, paragraphs, figures and equations are matched by their text, so adding lines above them does not break the sync. Near the end of the document both panes move to their end together. 🔗 Unlink turns it off.
  • Hover a paragraph and click ← to select it in the source.
  • ↻ Rebuild HTML (also in the editor title bar) saves and renders the document; ■ Stop cancels. Render messages appear in Output → Quarto Synced Review.

Quarto is taken from the Quarto extension's settings, PATH or, in Positron, Positron's own copy; Quarto Synced Review › Quarto Path overrides this. Quarto finds R by itself; to use a particular R, set › R Path (the R extension's r.rpath is used too).

Tracked changes and comments

Documents with CriticMarkup ({++added++}, {--deleted--}, {~~old~>new~~}, {==highlight==}{>>comment<<}) are rendered with the extension's criticmarkup.lua filter, unless their YAML sets up a filter of its own. Pandoc's ~~strikeout~~ and ~subscript~ are then off for that document. HTML rendered outside the extension does not get the filter. With CriticMarkup VSC-plus installed, the same changes are colored in the source too.

The abstract and background of a manuscript: substitutions, an addition, a deletion and a highlighted passage with a comment in CriticMarkup in the source, and the same changes in color in the preview

Views. Switch between All markup, Final (all changes accepted) and Original (all changes rejected) without re-rendering.

View The same two paragraphs
All markup An added citation in green, "initially" struck out in red, and a highlighted passage with a comment
Final The paragraphs with the citation added, "initially" removed, and no comment
Original The paragraphs without the citation, with "initially", and no comment

Comment. Select text and click 💬 Comment (next to the selection or on the toolbar). The source gets {==selected text==}{>>AB: comment<<}; your initials are asked once.

Text selected in the preview, with the Comment and Edit buttons next to the selection

After a rebuild, the new comment appears as a highlight with the comment text in both the source and the preview

Edit. Select text and click ✎ Edit (or click ✎ Edit, then a paragraph), retype it and press Enter. The difference goes into the source as tracked changes, such as {~~old~>new~~}{>>AB<<}. Edits that touch citations, cross-references, math, inline R output or existing comments are refused.

Editing in the preview: the selected words "seemingly is enough" have been retyped as "appears to be enough" in an outlined field with Apply and Cancel buttons

After Apply, the source shows the change as a CriticMarkup substitution of "seemingly is" by "appears to be", and a notification offers to show it or rebuild

Review. Review edits steps through the tracked changes, outlining each one on the page and in the source. Accept or Reject updates both panes at once.

The Review edits panel showing edit 5 of 6, with the text before and after and the Previous, Next, Accept and Reject buttons

Comments, edits and reviews change the source without saving it. Save and rebuild to see new comments and edits in the preview. The Comments, Editing and CriticMarkup settings turn these features off.

Limitations

  • One preview at a time.
  • The HTML must be <name>.html beside the source; output-file and a project's output-dir are not supported.
  • Quarto re-renders when the document changes, not when a file it reads (such as a sourced R script) changes; click Rebuild HTML then.
  • Website and book navigation and HTML widgets that need a server are not supported.

Run from source

code --new-window --extensionDevelopmentPath="$PWD"

Inspired by the source-to-HTML anchor synchronization in quarto-sync.nvim.

License

MIT © 2026 Andrey Chetverikov. You may use, change and share the code, also commercially, as long as the copyright and license notice stay with it.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft