Note: This extension is a UX/DX demonstration and is not production-ready. It may break or behave unexpectedly. Use it to explore the mdcomments workflow, not in a production environment. You can try it by installing the latest
.vsixpackage from GitHub Releases.
A VS Code extension for mdcomments with a dedicated
interactive preview panel, letting you
view, add, and reply
to comments directly in .md files.
Open any .md file and run mdcomments: Open
Interactive Preview. The extension opens a custom side-by-side
preview with a comment sidebar, with:
.md file in the editor.mdcomments.defaultAuthor
in settings). If unset, the extension tries VS Code GitHub account name,
then Git user.name. and comment text.The extension wraps the selected text in ==…== highlight
markers, inserts a [^c-N] reference, and appends a properly
formatted footnote definition at the end of the file.
The reply is inserted at the end of the chosen thread block.
| Setting | Default | Description |
|---|---|---|
mdcomments.defaultAuthor |
"" |
Author name for new comments. If empty, auto-detects from VS Code
GitHub account, then Git user.name, otherwise prompts. |
mdcomments.commentPlacement |
"nearAnchor" |
Unified behavior for both preview and editor: sidebar
keeps preview sidebar and no editor-side snippets;
nearAnchor enables right-side near-anchor comments in both
places (Google Docs style). |
Revenue grew by 15%[^c-rev1].
[^c-rev1]:
@alice (2026-02-10):
> Is this YoY?
@bob (2026-02-11):
> Yes. Added a clarifying note.See the full specification in the specification.md file
in the mdcomments repository.
Download the latest extension package (.vsix) from:
Install it in VS Code:
... (top-right menu).vscode-mdcomments-*.vsix
file.Or with the VS Code CLI:
code --install-extension vscode-mdcomments-*.vsix --forcecd vscode-mdcomments
npm install
npm run compile # or: npm run watchThen press F5 in VS Code to launch the Extension Development Host.