Inkdown
Inkdown is a beta VS Code extension for editing rendered Markdown without leaving VS Code.
It is built for developers who want Obsidian or Typora style readability while keeping plain .md files, wikilinks, and repo-native workflows inside VS Code.
Current beta capabilities:
- custom live editor for
.md files
- CodeMirror 6 live editor inside the custom editor
- inline preview for common Markdown syntax when the cursor is elsewhere
- rendered links and wikilinks are clickable
- wikilink completion and definition in Live Editor (F12 / Cmd/Ctrl+Click)
- image paste and drag-drop upload into document-relative
assets/
- create notes from workspace templates
- open or create today's daily note from a daily template
- outline tree for the current document
- backlinks tree for the current document
- explicit source-editor fallback command
- explicit note creation from unresolved wikilinks
Why Inkdown:
- edit Markdown in a live editor instead of bouncing between raw source and preview
- keep notes as plain
.md files inside your existing workspace
- navigate with wikilinks, outline, and backlinks without leaving VS Code
- render math and Mermaid inline while preserving Markdown as the source of truth
Live Editor Markdown coverage:
- headings and blockquotes
- Markdown links, auto links, and wikilinks
- unordered/ordered/nested lists
- task list checkbox interaction with write-back (
- [ ] / - [x])
- GFM tables
- fenced code blocks (with block rendering when not editing)
- images (
http(s), data, relative path, workspace-absolute path)
- strikethrough (
~~text~~)
- footnotes
- inline and block math (
$...$, $$...$$) with fallback on error
- Mermaid fenced blocks with diagram rendering and fallback on error
Development
Install dependencies:
make install
Build:
make compile
Test:
make test
Run the full release validation gate:
make release-gate
Package a VSIX without bumping the version:
make package
Legacy no-bump alias:
make package-no-bump
Prepare a release package with auto version bump (default patch):
make release
Choose bump type when cutting a release:
make release BUMP=minor
By default, packaging keeps the latest 3 .vsix files and deletes older ones. Override the retention count when needed:
VSIX_KEEP=5 make package
GitHub Release packaging:
- publish a GitHub Release whose tag matches
package.json#version (for example 0.2.0 or v0.2.0)
- the
Release Assets workflow runs make release-gate on that tag
- the workflow attaches the generated
.vsix and .sha256 files to the GitHub Release
- download the
.vsix from the Release page, verify it with the checksum if needed, then publish it manually to the Marketplace
Run in VS Code:
- Open this folder in VS Code.
- Start the
Run Inkdown launch configuration.
- In the Extension Development Host, open a Markdown file inside a workspace folder.
- By default, run
Inkdown: Open Live Editor from the editor title bar or Command Palette.
- If you need raw Markdown editing, run
Inkdown: Open Source Editor.
Templates And Daily Notes
Inkdown can create notes from workspace templates.
- Put your templates under
.inkdown/templates/
- Default files are
.inkdown/templates/note.md and .inkdown/templates/daily.md
- Supported template variables are
{{title}}, {{date}}, and {{time}}
Create a note from a template:
- Run
Inkdown: Create Note from Template
- Enter a note target such as
future-note or projects/architecture
- Inkdown creates the
.md file, fills the template, and opens it in Live Editor
You can trigger it from:
- the single Inkdown button in the Explorer top toolbar
- the Command Palette
- the Explorer right-click menu on a Markdown file or folder
Rules for note targets:
- a simple name such as
future-note creates the note next to the current note
- a nested path such as
projects/architecture creates the note at that workspace-relative path
- when you start from an Explorer folder, a simple name creates the note inside that folder
- unresolved wikilink note creation uses the same note template flow
Open today's note:
- Run
Inkdown: Open Today's Note
- Inkdown opens or creates
daily/YYYY-MM-DD.md
- The file content comes from
.inkdown/templates/daily.md
You can trigger it from:
- the single Inkdown button in the Explorer top toolbar
- the Command Palette
- the Explorer right-click menu on a Markdown file or folder
Related settings:
inkdown.templates.directory
inkdown.templates.defaultNoteTemplate
inkdown.dailyNotes.directory
inkdown.dailyNotes.template
If a template file does not exist yet, Inkdown falls back to a minimal built-in template.
Git compare and diff views stay in VS Code's native text diff so Markdown changes remain readable.
Sample manual QA workspace:
- open
sample-workspace/README.md as a separate workspace folder in the Extension Development Host
- verify live editing, outline, backlinks, templated note creation, daily notes, ambiguous wikilinks, and unresolved note creation against that sample set
- use
sample-workspace/research/markdown-preview.md to exercise tables, math, Mermaid, footnotes, code fences, and inline formatting coverage
Known Limits
- this is currently a beta release focused on the core live-editing workflow
- undo/redo is currently handled by the embedded editor first; VS Code command-level history integration still needs hardening
- native HTML rendering is disabled (
markdown-it uses html: false)
- backlinks index is in-memory only
- multi-root workspaces are not fully optimized