Documentation

Everything you need to get started with PM Toolkit — the visual markdown editor for Cursor and VS Code.

Getting Started

Installation

Install PM Toolkit from the marketplace:

Opening the Editor

Open any .md file and PM Toolkit automatically activates. You'll see the visual editor instead of raw markdown. To switch back to the source view, click the View Source button in the editor toolbar.

Visual Editor

PM Toolkit gives you a full WYSIWYG editing experience for markdown files. Type naturally and see formatted output in real time — headings, bold, italic, lists, links, and more render instantly.

The editor supports all standard markdown syntax. You can also use keyboard shortcuts for common formatting:

Block Handles

Hover near the left edge of any block to reveal drag handles. Drag any block to reorder it, or click the + button to insert new content between blocks.

Bubble Menu

Select any text to see the floating toolbar. It gives quick access to:

Document Outline

The sidebar shows a collapsible document outline generated from your headings. Click any heading to jump to that section. The outline updates in real time as you edit.

Save Guard

Every save is validated before it touches your file. PM Toolkit blocks corrupted content — webview URIs, internal data attributes, or excessive HTML — from ever reaching disk.

Slash Commands

Type / at the beginning of a new line to open the command menu. Available commands:

Command Description
/heading1 - /heading4 Insert headings
/bullet Bullet list
/numbered Numbered list
/task Task list with checkboxes
/table Insert a table (with size picker)
/code Code block
/quote Blockquote
/divider Horizontal rule
/image Insert an image
/link Insert a link
/mermaid Mermaid diagram
/flowchart Mermaid flowchart
/sequence Mermaid sequence diagram

Templates you've created also appear in the slash command menu.

Tables

Insert a table with /table and pick dimensions from the visual grid. Once inserted:

Images

PM Toolkit supports full image editing:

Once inserted, click an image to:

Images are saved to a configurable assets directory (see Settings). Width and alignment are persisted as HTML comments in markdown.

Kanban Boards

Create a file with the .kanban extension to open a kanban board. Boards are stored as markdown, so they're portable and version-control friendly.

Mermaid Diagrams

Write mermaid diagrams inside fenced code blocks marked mermaid and they render inline. Alternatively, use slash commands:

Diagrams automatically adapt to your light/dark theme. They default to fit-to-view mode so the full diagram is always visible — toggle to scroll/zoom for large diagrams. Click the Edit button on any diagram to modify the source.

PDF Export

Export any markdown document to a pixel-perfect PDF — the output looks identical to the editor.

  1. Open a .md file in PM Toolkit
  2. Run PM Toolkit: Export to PDF from the Command Palette (Cmd+Shift+P), or click the PDF icon in the editor title bar
  3. The PDF is saved next to your .md file

Requires Chrome, Chromium, Edge, or Brave installed (auto-detected on macOS, Windows, and Linux). Set a custom browser path with the pmtoolkit.pdfChromePath setting if needed.

The PDF includes selectable text, tables, images, and Mermaid diagrams rendered as SVGs. Configure page size, margins, and background printing in settings.

Templates

Create reusable document templates:

  1. Create a folder for your templates (any location in your workspace)
  2. Set the folder path via PM Toolkit: Set Template Folder in the Command Palette, or in Settings
  3. Add .md files with YAML frontmatter:
---
title: Meeting Notes
description: Template for team meetings
---

# Meeting Notes — {{date}}

## Attendees

-

## Agenda

1.

## Action Items

- [ ]

Available variables:

Variable Output
{{date}} Current date (e.g., 2026-02-08)
{{time}} Current time (e.g., 14:30)
{{datetime}} Date and time
{{year}} Current year
{{month}} Current month
{{day}} Current day

Templates appear in the slash command menu alongside built-in commands.

Keyboard Shortcuts

Shortcut Action
Cmd+B Bold
Cmd+I Italic
Cmd+E Inline code
Cmd+K Insert link
Cmd+Shift+X Strikethrough
Cmd+Shift+7 Numbered list
Cmd+Shift+8 Bullet list
Cmd+Shift+9 Task list
Tab Indent / next table cell
Shift+Tab Outdent / previous table cell
Cmd+Enter Exit code block or table
/ Open slash command menu

On Windows/Linux, replace Cmd with Ctrl.

File Viewers

PM Toolkit includes read-only viewers for common file formats:

Settings

Open settings via the editor overflow menu (...) or run PM Toolkit Settings from the Command Palette.

Setting Description Default
pmtoolkit.editorFontSize Font size (10-24px) 14
pmtoolkit.templateFolder Path to template folder
pmtoolkit.imageAssetsPath Directory for uploaded images (relative to document) assets
pmtoolkit.kanbanSaveDelay Save delay in ms (50-2000) 150
pmtoolkit.kanbanDefaultColumns Default board columns Backlog, In Progress, Done
pmtoolkit.kanbanShowThumbnails Show card thumbnails true
pmtoolkit.pdfChromePath Path to Chrome/Chromium for PDF export (auto-detected if empty)
pmtoolkit.pdfPageSize Page size for PDF export (A4, Letter, Legal, Tabloid) A4
pmtoolkit.pdfMarginTop / Bottom / Left / Right PDF margins 20mm / 20mm / 15mm / 15mm
pmtoolkit.pdfPrintBackground Include background colors in PDF true

FAQ

The editor doesn't load when I open a markdown file

PM Toolkit activates when you open a .md file, but if the file was already open before installing the extension, VS Code won't automatically switch to the visual editor. Close the file tab and reopen it — the editor will load on the second open. You can also right-click the file tab, choose Reopen Editor With, and select PM Toolkit.

Cursor shows an error after AI edits my markdown file

Cursor applies diffs to files lazily — when its AI agent edits a file, the changes are staged as pending diffs rather than written directly. If a custom editor (like PM Toolkit's visual editor) is open when this happens, the document state can get out of sync and you'll see an assertion error on reload.

To fix it: save your document before letting Cursor's AI edit it. If you've already hit the error, switch to the source markdown view (right-click the tab and choose Reopen Editor With > Text Editor), accept or reject the pending diffs, then reopen the file to load the visual editor again.

Can I switch between the visual editor and raw markdown?

Yes. Click the View Source button in the editor toolbar to see the raw markdown. Your changes are saved to the same file either way.

Where are my files stored?

PM Toolkit edits your actual .md files on disk. Nothing is stored in a database or synced to the cloud. Your files stay exactly where you put them — portable, version-controllable, and fully yours.

Does PM Toolkit work with Git?

Yes. Since it reads and writes standard markdown files, everything works with Git out of the box. Diffs, branches, merges — all normal.

How much does PM Toolkit cost?

Nothing. PM Toolkit is completely free and open source. No trials, no tiers, no catch.

How do I report a bug or request a feature?

Open an issue on GitHub.

Support this project

PM Toolkit is free and open source. If it saves you time, consider supporting its development.

Ready to write visually?

Install in seconds. Free forever.

Join developers who write docs in their editor