FlintmarkObsidian-style Markdown Live Preview for VS Code. English · 简体中文 Screenshots · Supported Markdown · Install · Settings · Build Flintmark is a custom Markdown editor for VS Code. It renders formatting in the
document and reveals the source around the caret, so editing and previewing
happen in the same tab. A freshly opened note renders in full until you click
or type — the initial cursor position never opens the file showing raw source.
The file on disk is still an ordinary It also adds the pieces that are usually missing when an Obsidian vault is opened in VS Code: wikilink and tag completion, Properties, image embeds, Outline, Todo, and Backlinks.
ScreenshotsThese screenshots were taken with the extension itself, loaded from this repository in a VSCodium development host. Dark and light themesFlintmark follows the current VS Code color mode. Changing themes updates the open editor in place, without moving the caret or resetting the scroll position. Use Flintmark: Select Theme or set
Editing in placeClick a rendered line to edit its Markdown. Move the caret elsewhere and the line renders again. Task checkboxes can be toggled directly, and fenced code blocks keep their highlighting and Copy button while they are not being edited. Flintmark also provides shortcuts for bold, italic, inline code, strikethrough, and links. If text is selected, pasting a URL turns the selection into a Markdown link.
Type
PropertiesFlintmark displays simple YAML frontmatter as a Properties panel. Dates, lists, and tags get their own icons, and list values are shown as chips. Click the panel to edit the YAML. Frontmatter that Flintmark cannot parse is left as source.
Outline, Todo, and BacklinksVS Code's built-in Markdown Outline cannot read a custom webview editor, so Flintmark includes its own sidebar views:
Clicking an Outline or Todo row moves the caret to that line in Live Preview.
Rendered Markdown
Blockquotes, ordered and unordered lists, horizontal rules, Setext headings,
footnote definitions, and sanitized inline SVG blocks are supported too.
Images and attachmentsPasting or dropping an image saves it next to the note and inserts an
Image embeds can be found by bare name anywhere in the vault. Width and height
can be set with Copilot and CursorCopilot and Cursor normally cannot see a selection inside a webview. When text is selected in Flintmark, a small toolbar offers two ways around that:
The extension knows the usual command IDs for VS Code and Cursor. They can be overridden in Settings for other hosts. If a button calls the wrong command, Flintmark: Show AI Log shows the selected range and the command that was used. Supported Markdown
InstallInstall Flintmark from the VS Code Marketplace, search for it in the Extensions view, or run:
VSIX files are also available on the GitHub Releases page. In VS Code, choose Extensions → … → Install from VSIX…. Open a Markdown file and accept the prompt to use Flintmark by default. The same choice is available later as Flintmark: Set Live Preview as Default Markdown Editor. Switch to Live View and Switch to Code View change the editor for the current file. To set the association by hand:
Zed developer previewThe repository also contains a native Zed extension adapter in
This is not full UI parity with the VS Code edition: Zed does not currently expose a custom-editor/webview API, so Flintmark cannot place its caret-aware Live Preview, interactive widgets, or custom sidebars inside Zed. The adapter is ready for development installation now; registry publication follows the first coordinated release. See the Zed README for the exact feature and install details. Settings
Files and indexesFlintmark edits the VS Code The note, tag, backlink, and image indexes are derived from the workspace and can be rebuilt at any time. Initial scans run in small batches so a large vault does not hold up the editor, and ordinary saves update only the changed file. The note used in the dark and light screenshots is media/demo/go-pipelines.md. It was written as a demo and draws on the Go blog post Go Concurrency Patterns: Pipelines and cancellation. Building from sourceThe CI build uses Node.js 20. The extension requires VS Code 1.89 or newer.
Open the repository in VS Code and press
The main screenshots can be regenerated with:
DisclaimerFlintmark is not affiliated with, endorsed by, or sponsored by Obsidian or Dynalist Inc. “Obsidian” is a trademark of Dynalist Inc. and is used here only to describe syntax and visual compatibility. Credits
LicenseMIT © quboliu. See THIRD-PARTY-NOTICES.md for bundled third-party software. |






