Package Control

The official Sublime Text package manager.

PureMarkdownPreview

VS Code-style Markdown preview for Sublime Text 4: inline HTML (img, colored spans) rendered in-place, zero dependencies

By piotrzielinski1994
Created October 4, 2026, last updated November 14, 2026.

OctSepAugJulJunMayAprMarFebJan Dec2025 Nov 2026-W46 | installs: 4 | removals: 2 | upgrades: 0 2026-W46 | installs: 4 | removals: 2 | upgrades: 0 2026-W46 | installs: 4 | removals: 2 | upgrades: 0 024 WeeklyInstalls 024 WeeklyUpgrades 2026-W46 | upgrades: 0 0.5.1 / 0.5.0 2026-W42 0.4.0 2026-W41 0.3.0 / 0.2.1 / ... 0.3.0 / 0.2.1 / 0.2.0 / 0.1.2 / 0.1.1 / 0.1.0
Installations: 4 in total
Installations minus removals
Upgrades

Links

Versions

0.5.1 (>ST3149) ·
2026-11-14 02:20

More

PureMarkdownPreview

Sublime Text 4 plugin: VS Code-style Markdown preview with inline HTML (<img>, <span style="color:...">) rendered directly in Sublime.

Features

  1. In-place preview (Ctrl+Shift+V, like VS Code): the same tab toggles between source and rendered Markdown - headings, bold, links, colored ✓/✗ markers, local images in rows, separator lines. Saving the .md refreshes the preview.
  2. Inline thumbnails under <img> lines in the editor.
  3. Alt + mouse wheel = fast scroll (~10 lines).

Install

git clone <this-repo> "Packages/PureMarkdownPreview"

Or copy the files into Packages/User. No dependencies, stdlib only. Requires Sublime Text 4 (build 4073+).

Commands (Command Palette)

  1. PureMarkdownPreview: Preview
  2. PureMarkdownPreview: Toggle inline images

Key bindings and mouse (opt-in)

The package ships with no active key or mouse bindings. Copy the example from Example.sublime-keymap to your Packages/User/Default (<platform>).sublime-keymap:

[{ "keys": ["ctrl+shift+v"], "command": "pure_markdown_preview" }]

For fast scroll, add to your Packages/User/Default (<platform>).sublime-mousemap:

[
	{ "button": "scroll_up", "modifiers": ["alt"], "command": "scroll_lines", "args": { "amount": 10.0 } },
	{ "button": "scroll_down", "modifiers": ["alt"], "command": "scroll_lines", "args": { "amount": -10.0 } }
]
  1. Ctrl+Shift+V - toggle in-place preview (same as VS Code).
  2. Alt + mouse wheel - fast scroll (~10 lines per tick).

Settings (PureMarkdownPreview.sublime-settings)

  1. enabled - inline images on/off (default true).
  2. image_height - thumbnail height in px (default 150).
  3. max_images_per_line - cap per line (default 12).

Notes

  1. minihtml has no <hr> or flexbox: rules render as bordered divs, images flow inline and wrap.
  2. Preview uses a generated color scheme matching your theme; the view is read-only.

Results

Packages