Markdown Fast EditorMarkdown Fast Editor is a VS Code extension for editing Markdown directly in a rendered preview while keeping the It is built for large Markdown files, GitHub Flavored Markdown tables, mixed Markdown/HTML documents, and source-preserving edits where untouched blocks should not be rewritten. Features
UsageOpen a
You can also right-click a Markdown file in Explorer and choose In the editable preview:
Source PreservationThe extension edits the smallest Markdown block it can map back to the source document. Untouched front matter, reference definitions, images, nested lists, raw HTML, fenced code blocks, and large tables are preserved by range rather than being regenerated. When you directly edit a rendered block, only that block is serialized back to Markdown. Rendered table cells support bold, italic, strike-through, nested formatting, inline code, and links without exposing Markdown delimiters while you type. Caret positions remain stable through saves and preview refreshes, including rapid edits at the beginning, middle, or end of formatted content. Tables inside sanitized HTML containers such as If a table cell contains syntax that cannot be reconstructed byte-for-byte from rendered HTML, such as a multi-backtick code span or source-only metadata, that cell stays read-only in the preview. Edit it from the Markdown source instead; neighboring safe cells remain directly editable. Raw HTML blocks render in two layers: a sanitized preview and an editable raw-source block. The webview sanitizer protects the preview, but sanitizer output is never written back over the raw HTML source. Blocks with source-sensitive Markdown, such as reference links, image references, inline HTML, and footnotes, use a raw-source editor in the preview so those constructs are not simplified into lower-fidelity Markdown. Very large tables are rendered as compact summaries instead of unbounded editable DOM tables. Documents above the configured full-parser threshold switch to a scanner-backed, block-bounded preview when possible. Oversized or structurally excessive blocks become bounded read-only source previews, and very large authoritative documents omit their full source from the webview. The complete Markdown remains in the source file for normal text-editor access. The status shows Unsaved changes after edits reach the VS Code document and Saved after the document is saved. Command-S / Control-S in the preview flushes pending edits before saving; manual saves also request a pending-edit flush. Use VS Code’s normal Auto Save setting if desired. Saving changes updates the status without rebuilding the preview. Preview parsing runs in background workers with bounded time, memory, and queued work. If a document cannot finish safely, the preview shows a read-only source excerpt; the complete file stays intact. Edits that cannot be validated are retained for recovery instead of being applied against an uncertain preview. Table commands process only the table around the cursor. Very uneven tables use compact spacing to avoid creating huge padding, and oversized operations are refused before changing the source. Tabular paste into a partial table preview is also refused so hidden rows and columns are preserved. Raw HTML warnings use bounded scans, and Format HTML leaves the source unchanged if safe depth or output limits would be exceeded. The fallback thresholds are configurable under Commands
SecurityMarkdown is rendered inside a VS Code webview with:
Raw HTML remains in the source file unless the user edits that HTML block directly. The diagnostics command copies only extension/runtime metadata, document size/counts, and configured thresholds; it does not copy file paths or Markdown contents. SupportUse the public issue tracker for support, bugs, and feature requests: https://github.com/loredan1994/markdown-fast-editor-issues/issues Do not include private documents, credentials, secrets, personal data, or exploit details in public issues. For vulnerabilities, use GitHub private vulnerability reporting: https://github.com/loredan1994/markdown-fast-editor-issues/security/advisories/new LicenseProprietary. See |