English | 简体中文
Write and review Papper manuscripts in VS Code.
Papper Tools brings reference navigation, equation previews, Word formatting controls, and citation-style search into your Markdown editor. It is the VS Code companion to Papper, which builds your manuscript as DOCX.
The interface follows VS Code's display language, with English defaults and Simplified Chinese translations. Commands use the consistent Papper Tools: prefix. Change the editor language with Configure Display Language, then restart VS Code when prompted.
Install and use with AI · Writing tools · Try-it examples · Documentation
Install and use with AI
Install Papper Tools from the VS Code Marketplace. For builds, HTML previews, and rendered reference hints, install uv and Papper:
uv tool install papper
Open your manuscript folder in VS Code. In an AI agent such as Codex, Claude Code, or Workbuddy, ask:
- “Use Papper to convert this DOCX into Markdown.”
- “Adapt this Markdown file's cross-references, images, tables, and bibliography to Papper's syntax.”
- “Use Papper to build this Markdown file as a DOCX.”
Review the edited source with the extension's navigation, previews, and formatting tools. To start a new paper yourself:
papper init my-paper
cd my-paper
Open that folder in VS Code and edit manuscript.md. If uv is already installed, Papper Tools: Install or Update Papper can also install or update Papper from the Command Palette. Manual installs, updates, and confirmed automatic updates show the latest command output below the notification progress bar, with full logs in View → Output → Papper Tools.

AI-generated workflow illustration. It represents the tools' roles rather than an actual editor screenshot.
| While writing |
What you can do |
| Follow figures, tables, equations, and sections |
Jump to labels, find references, complete labels after @, and spot missing references or duplicate labels |
| Check citation and reference text |
See Papper's rendered numbering and citation text beside the source, including grouped citations |
| Adjust Word formatting |
Open Papper Tools: Open Settings for MathType, fonts, tables, images, page layout, and cross-references; apply manuscript, project, or reply settings |
| Choose a journal's citation style |
Search Zotero styles and the Chinese community collection, compare citation and bibliography previews, and apply a local CSL file |
| Inspect equations and figures |
Hover over math or local SVG/EMF/WMF images; browse image folders in grid, masonry, or folder layouts |
| Compose multi-panel figures |
Arrange images and captions in an editable SVG, compare physical size with A4 paper, export PNG, or convert a Markdown subfigure group |
| Review a revision |
Fold revision attributes and line-reference excerpts; navigate from reply_to_reviewers.md to labels in the workspace-root manuscript.md |
Configuration keys, values, table attributes, and []{t="..."} insertions also have completion and hover help. Style actions on headings, text, images, and tables let you edit the relevant Word formatting without searching through every setting.
Try-it examples
Save this as a Markdown file:
# Methods {#sec:methods}
We minimize the objective in [@eq:loss].
$$
L = \frac{1}{N}\sum_{i=1}^{N}(y_i-\hat{y}_i)^2
$$ {#eq:loss}
- Type
@ to complete a reference, or use Go to Definition on @eq:loss.
- Hover over the formula to see its rendered form. Open Outline to navigate headings and labeled elements.
- Hover over a heading or paragraph to open its style action, or run Papper Tools: Open Settings.
- Run Papper Tools: Set Citation Style to search and compare journal styles.
In a Papper project, style.yml holds reusable formatting. A manuscript's YAML header can hold local overrides. The settings window writes changes back to those editable files.
Preview and build Word
Use these commands from the Command Palette, or the corresponding buttons above a saved Markdown editor:
| Command |
Result |
| Papper Tools: Preview Markdown (Papper HTML) |
Open a side preview that includes unsaved changes and follows source navigation |
| Papper Tools: DOCX Paginated Preview (Experimental) |
Preview the current editor buffer with edit/save refresh, zoom and page navigation |
| Papper Tools: Build DOCX and Open in Word |
Save the source, build a fresh temporary DOCX, and open it in Word |
| Papper Tools: Open Settings |
Edit formatting and reference settings |
| Papper Tools: Set Citation Style |
Open the bibliography section with journal search and previews |
Each Word build uses its own temporary file. Use Save As in Word to keep a permanent copy. To create the normal project output, run:
papper build docx
HTML helps you check content while writing; inspect final pagination in Word. See Papper's actual Word examples for manuscript and reviewer-reply output, including editable MathType equations.
Experimental DOCX preview requires Papper with embedded PDF preview support.
It uses a resident Papper service; no separate Docxide executable is required.
The preview reads unsaved edits after a 700 ms pause, follows DOCX style settings, paints only nearby pages, and retains the physical page and relative position after refresh or zoom. Enabled MathType equations use the Rust backend in preview; native Word equations remain native when MathType is disabled. Preview cross-references use static numbers; ordinary Word exports retain their configured formula backend and native fields. Formula appearance and pagination can differ from Word.
Edit/save refresh is enabled by default. For manual refresh only, disable both pandocManuscriptTools.docxPreview.refreshOnEdit and pandocManuscriptTools.docxPreview.refreshOnSave; adjust the pause with docxPreview.editDelay.
HTML-style source synchronization is not available in this view. Pagination, directories and fields can differ from Word.
More editing conveniences
Right-click an image folder and choose Papper Tools: View Images to browse its contents. SVG, EMF, and WMF files also have dedicated previews.
Use Papper Tools: Create Combination Figure to lay out local images in an
SVG. Select multiple image files in Explorer to start with those panels, or
create a figure from Markdown and insert it on first save. Edit Combination
Figure reopens its saved layout. To import an existing pandoc-crossref group,
place the cursor inside it and run Convert Subfigure Group to SVG.
The editor includes an A4 paper reference, physical dimensions, fixed-point
text, nested panel docking, manual alignment, automatic numbering with an opt-out,
interactive image cropping with whitespace trimming, rich captions and PNG export.
Hover over a Markdown image referencing a combination SVG. The Papper Tools: row offers Edit subfigure layout after the caption and figure style actions.
See Combination figures.
English paragraph and code-comment translation is available on hover. This uses Google Translate or Microsoft Translator; turn off pandocManuscriptTools.enableParagraphHoverTranslation in Settings if you do not want translation requests.
Documentation
For a problem, open an issue with the extension version, Papper version where relevant, and a small example. Build and preview logs are in View → Output → Papper Tools.
Licensed under GPL-3.0-or-later.