Pressmark for VS Code

A Markdown preview for VS Code that draws maths and diagrams in your VS Code theme, and saves your document as HTML or EPUB.

Pressmark for VS Code is a Markdown preview that sits beside the file you’re editing. It draws maths and Mermaid diagrams in your VS Code theme’s colours, and saves your document as an HTML page or an EPUB e-book, or copies it as rich text to paste into email, Google Docs, Word or Slack.

It runs on the same document engine as Pressmark for Chrome, so a file looks the same in both. The pictures below are the real screens: the preview in a light and a dark VS Code theme, the theme menu, the Nord theme, and Save as.

Features

  • A preview beside your file that follows the Markdown file you’re editing, updates as you type and scrolls with the editor; double-click it to jump to that line
  • Maths and diagrams: formulas between dollar signs are typeset, and Mermaid flowcharts, sequence diagrams and charts are drawn in your theme’s colours, ready to save as SVG or PNG
  • Tables, task lists, footnotes, GitHub-style alerts, emoji shortcodes, code coloured for 23 languages, and pictures from the same folder
  • Your VS Code theme: the preview takes its colours from the theme you use and follows it when you switch; twelve Pressmark themes and Auto are in the menu too
  • Save as a self-contained HTML page, or an EPUB e-book with chapters and your pictures inside
  • Copy as rich text, to paste formatted into email, Google Docs, Word or Slack
  • Line Up Table Columns pads a Markdown table so its columns line up in the source
  • No account, no tracking, and nothing you write is sent anywhere

Install

Pressmark for VS Code is on its way to the VS Code Marketplace and Open VSX. Until then, download the zip and install the extension from the file inside. It takes a minute.

  1. Unzip the download.
  2. In VS Code, open the Extensions view and click the … menu at its top.
  3. Choose Install from VSIX… and pick pressmark-1.0.0.vsix.
  4. Open a Markdown file and click the book icon at the top right of the editor.

Requirements

VS Code 1.90 or later, on Mac, Windows or Linux.

Pressmark is free and open source, under the MIT licence.

Quick stats

Measured on 22 November 2026 · Release 1.0.0

Delivered code4,125 lines11 files: 4 written for VS Code (843 lines) and 7 shared with Pressmark for Chrome; the download also carries the Mermaid and KaTeX libraries (5.2 MB unpacked)
Download1.6 MBThe .vsix and an install guide, in one zip
Built in36 minTwo sittings, from the first request to the 1.0.0 package, over 4 commits, on the engine already built for Chrome
Project documentation910 wordsThe listing, the changelog and the install guide
Images7The icon, shared with Pressmark for Chrome, a banner and 5 screenshots
Promotional words360This page
Full breakdown (4 more rows)
Test code333 lines3 files of tests and packaging scripts, not shipped
Automated checks31End-to-end checks in a real VS Code window, run against the packaged extension
Engineering documentation469 wordsDEVELOPING.md, not shipped
Screenshots47.0 KB average5 WebP screenshots; originals averaged 303.8 KB as PNG

More projects

View all
Custom build
WordPress Plugin

SCK Stats

Cookieless visit stats and split testing for Sunshine Coast Karate: which pages and sources lead to trial bookings, with no cookies or IP addresses.

Custom build
WordPress Plugin

SCK Core

Sunshine Coast Karate's data layer: locations, programs, classes, instructors, testimonials and FAQs, with the business details typed once and shown everywhere.

Free
WordPress Plugin

AccessNow Site Replica

Back up, clone and restore WordPress sites in small, safe steps, even on shared hosting with almost no free disk space.