PureMarkdownPreview
VS Code-style Markdown preview for Sublime Text 4: inline HTML (img, colored spans) rendered in-place, zero dependencies
Details
Installs
- Total 193
- Win 101
- Mac 63
- Linux 29
| Dec 6 | Dec 5 | Dec 4 | Dec 3 | Dec 2 | Dec 1 | Nov 30 | Nov 29 | Nov 28 | Nov 27 | Nov 26 | Nov 25 | Nov 24 | Nov 23 | Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 2 | 3 | 4 | 5 | 3 | 3 | 2 | 9 | 6 | 9 | 6 | 9 | 4 | 1 | 6 | 7 | 6 | 7 | 6 | 1 | 5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Mac | 1 | 1 | 4 | 2 | 2 | 1 | 3 | 1 | 1 | 4 | 3 | 9 | 6 | 3 | 1 | 0 | 7 | 4 | 3 | 4 | 2 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Linux | 1 | 2 | 2 | 1 | 2 | 2 | 0 | 0 | 1 | 1 | 3 | 2 | 1 | 1 | 1 | 3 | 0 | 2 | 1 | 2 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
PureMarkdownPreview
Sublime Text 4 plugin: VS Code-style Markdown preview with inline HTML
(<img>, <span style="color:...">) rendered directly in Sublime.
Features
- 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.mdrefreshes the preview. - Inline thumbnails under
<img>lines in the editor. 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)
PureMarkdownPreview: PreviewPureMarkdownPreview: 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 } }
]
Ctrl+Shift+V- toggle in-place preview (same as VS Code).Alt+ mouse wheel - fast scroll (~10 lines per tick).
Settings (PureMarkdownPreview.sublime-settings)
enabled- inline images on/off (defaulttrue).image_height- thumbnail height in px (default150).max_images_per_line- cap per line (default12).
Notes
- minihtml has no
<hr>or flexbox: rules render as bordereddivs, images flow inline and wrap. - Preview uses a generated color scheme matching your theme; the view is read-only.