Perwrite is a Markdown editor extension for VS Code and compatible editors. It lets you edit Markdown while previewing rich rendering in the same editor surface.
It renders:
Mermaid diagrams and KaTeX math
Shiki syntax highlighting
GFM tables, task lists, and internal links
Example
Usage
Install Perwrite in VS Code or a compatible editor.
Open a Markdown file.
Use the buttons in the upper-right corner to switch view modes.