
MarkFlow AW for VS Code
One Markdown document. Two ways to edit. Synchronized Markdown source and rich-text editing inside VS Code. VS Code 1.95+ · English / 简体中文
Features · Getting started · Documentation · Development · License
English · 简体中文
Features
- Edit source and rich text together. Keep both panes synchronized, or work in rich text alone, with formatting for headings, lists, links, and text from the toolbar and context menus.
- Write equations, diagrams, and code. Render math with KaTeX, edit equations visually with MathLive, use Mermaid diagrams across common diagram types, and highlight code with selectable themes.
- Choose a reading layout. Read or edit in continuous or paged A4 layouts with adjustable zoom, or adjust the reading width and choose among four text alignments outside A4.
- Work with tables and images. Resize columns, align or merge cells, split merged cells, and browse image references in document order.
- Export and exchange content. Export HTML, PDF, or a shareable ZIP, copy rich text, and paste HTML as Markdown.
- Convert Word documents. Import and export
.docx files through a separately installed Pandoc.
- View PDF and Word documents. Open PDFs in the MarkFlow AW viewer and read Word files as paginated A4 pages. The editor toolbar holds page number, zoom percentage, zoom presets, single/two-page layout, text selection, hand tool, page-thumbnail toggle and Find. Ctrl+F searches PDF, Word and PowerPoint text with match highlighting; the right-click menu copies the selection, the current page or the whole document.
- Preview presentations. Open
.ppt and .pptx files as a PDF preview with selectable text; legacy .doc files use the same conversion path.
- Open documents with predictable defaults. After installation MarkFlow AW registers itself as the VS Code default editor for Markdown, PDF, Word and PowerPoint files, keeping any associations you already set.
- Keep files in sync. External edits to open Markdown, CSV and TSV files are applied immediately and saved; read-only viewers refresh when the file changes outside VS Code.
- Reach settings from any viewer. The settings page opens from the right end of the toolbar in PDF, Word, PowerPoint, image, spreadsheet, notebook, media and table views.
- Open text and code files. Plain text and common code files open from the MarkFlow AW open command in VS Code's own editor with highlighting and editing.
- View spreadsheets and images. Open XLSX/XLSM workbooks read-only, edit CSV/TSV files in a table editor, and view images with zoom, fit, rotation and panning.
- Compile TeX. Open
.tex files in VS Code's editor, run MarkFlow AW: Compile TeX, and open the compiled PDF beside the source. The full local TeX Live toolchain runs latexmk with bibliography and index support; configure the output folder, engine and shell-escape, clean intermediate files, and edit .log output like plain text.
- Open more documents. Read notebooks, play audio and video, and preview HTML in VS Code's editor.
- Open folders. Use the welcome page Open folder button to pick a workspace folder.
- Edit tables. CSV and TSV files open in an editable MarkFlow AW table with native undo, redo and save.
- Find above the editor. Search and replace open above the document instead of using the sidebar, with consistent previous and next arrows.
- Scale the interface. Resize menus, dialogs and the status bar from 80% to 200% without changing body text.
- Set up your workspace. Open settings as a popup inside the editor with immediate apply, and choose light or dark themes, English or Simplified Chinese, view presets, system fonts, and searchable offline help with chapter navigation.
Screenshot

Getting started
Install MarkFlow AW from the Marketplace, or install the VSIX package and run:
code --install-extension .\MarkFlowAW-vscode-0.3.3.vsix --force
Reload VS Code, open a .md or .markdown file, and choose Reopen Editor With → MarkFlow AW Split Editor; you can also run MarkFlow AW: Open split editor from the Command Palette. The same command opens PDF, Word, PowerPoint, image, spreadsheet, notebook and media files in the MarkFlow AW viewer and text or code files in the editor. The editor shows rich text first, and the split-view button reveals the Markdown source.
On first activation MarkFlow AW adds default editor associations for Markdown, PDF, Word and PowerPoint inside VS Code. Existing associations are kept, and only missing entries are added. Disable this with markflow-aw.files.registerDefaultAssociations, or run MarkFlow AW: Register default file associations to apply it again. Associations apply to files opened afterwards; reopen tabs that were already open before registration. If you uninstall the extension, remove those entries from workbench.editorAssociations so the files fall back to their previous editors.
Saving, autosave, undo and redo use VS Code's document model. MarkFlow AW is an optional Markdown editor that works alongside the built-in editor.
PDF export uses Microsoft Edge or Google Chrome; set markflow-aw.pdf.browserPath if detection fails. Word import and export use a separately installed Pandoc.
MarkFlow AW runs locally. Editor resources, equation fonts and offline help are bundled; remote images and external links need network access.
Upgrading from MDRE
Version 0.3.1 renames the extension from MDRE to MarkFlow AW. The extension ID changes from LaizhuangJi0601.mdre-vscode to markflow-aw.markflow-aw, so VS Code treats it as a new extension: install the new VSIX once (uninstall the old extension when you no longer need it) and review the extension preferences, which VS Code stores per extension ID.
| Item |
MDRE 0.3.0 and earlier |
MarkFlow AW 0.3.1 |
Compatibility |
| Extension ID |
LaizhuangJi0601.mdre-vscode |
markflow-aw.markflow-aw |
Install the new VSIX; both versions may coexist while you migrate. |
| Commands |
mdre.open, mdre.new, mdre.reloadEditor, mdre.save/undo/redo, mdre.compileTex, mdre.chooseTexOutputDirectory, mdre.cleanTexArtifacts, mdre.table.* |
markflow-aw.open, markflow-aw.new, markflow-aw.reloadEditor, markflow-aw.save/undo/redo, markflow-aw.compileTex, markflow-aw.chooseTexOutputDirectory, markflow-aw.cleanTexArtifacts, markflow-aw.table.* |
The old mdre.* command IDs remain registered as aliases, so existing keybindings and scripts keep working. |
| Custom editors |
mdre.editor, mdre.aux, mdre.table |
markflow-aw.editor, markflow-aw.aux, markflow-aw.table |
Custom editor IDs cannot be aliased. Reopen documents with Reopen Editor With → MarkFlow AW after upgrading; tabs restored with an old ID show an error until reopened. |
| Settings |
mdre.pdf.browserPath, mdre.tex.outputDirectory, mdre.tex.engine, mdre.tex.shellEscape |
markflow-aw.pdf.browserPath, markflow-aw.tex.outputDirectory, markflow-aw.tex.engine, markflow-aw.tex.shellEscape |
Both are read: the new key wins, then the old mdre.* key is used as a fallback. Move the values when convenient; the old keys are no longer listed in Settings. |
Documentation
Looking for the desktop edition? See MarkFlow AW for Windows.
Development
Use Node.js 24 LTS and pnpm 12.x, with VS Code for extension debugging.
git clone https://github.com/LaizhuangJi0601/MDRE-for-VS-Code.git
cd MDRE-for-VS-Code
pnpm install --frozen-lockfile
pnpm build
pnpm package
pnpm dev starts an Extension Development Host. See development notes for checks and tooling.
Contributing
Bug reports, suggestions, and pull requests are welcome. Use Issues with the version, reproduction steps, and a small Markdown example; include a screenshot for visual issues. Keep the English and Chinese documentation aligned.
License
MarkFlow AW is released under the MIT License. It builds on projects including Tauri, CodeMirror, ProseMirror, markdown-it, KaTeX, MathLive, Mermaid, and highlight.js.
Third-party copyright and usage terms remain governed by their original licenses. See notices and licenses.
| |