Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Auto Markdown Preview LockNew to Visual Studio Code? Get it now.
Auto Markdown Preview Lock

Auto Markdown Preview Lock

Knworks

|
7 installs
| (0) | Free
A Visual Studio Code extension that automatically opens the Markdown preview when you open a Markdown file.Optional settings let you lock the right editor group to keep the preview pinned and automate preview open/close behavior.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Auto Markdown Preview Lock

A Visual Studio Code extension that automatically opens the Markdown preview when you open a Markdown file. Optional settings let you lock the right editor group to keep the preview pinned and automate preview open/close behavior.

Feature

  • Automatically opens the Markdown preview when a Markdown file becomes active.
  • Keeps the code editor in the primary group while locking the preview to the side when enabled.
  • Closes the preview when a non-Markdown editor becomes active (configurable).
  • Workspace-scoped settings so each project can tune the behavior.

Settings

Key Default Description
autoMdPreview.enableAutoPreview true Automatically open Markdown preview when a Markdown file becomes active.
autoMdPreview.alwaysOpenInPrimaryEditor true Keep the active text editor in the primary (first) group when opening previews.
autoMdPreview.closePreviewOnNonMarkdown true Close Markdown preview when a non-Markdown editor becomes active.

Privacy / Telemetry

This extension does not send any usage data (telemetry).

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft