Preview Markdown files using the Lexical editor framework in readonly mode.
- Lexical-powered rendering - Uses Facebook's Lexical editor for high-quality markdown display
- Readonly mode - Clean, distraction-free preview without editing capabilities
- Syntax highlighting - Code blocks with proper syntax highlighting
- Full markdown support - Headings, lists, tables, links, images, blockquotes, and more
- Custom editor integration - Opens as a custom editor tab in VS Code
- Open any
.mdfile - Use one of these methods:
- Press
Ctrl+Shift+L(Windows/Linux) orCmd+Shift+L(Mac) - Click the preview icon in the editor title bar
- Run command:
Open Markdown Preview Lexical (Kyan)
- Press
To always open .md files with this extension:
- Press
Cmd+Shift+P(Mac) orCtrl+Shift+P(Windows/Linux) - Search for
View: Reopen Editor With... - Select
Configure default editor for '*.md' - Choose
Markdown Preview Lexical (Kyan)
Now all .md files will open with this preview by default.
| Setting | Default | Description |
|---|---|---|
markdownLexicalPreview.autoPreview |
true |
Automatically open preview when opening a Markdown file |
- VS Code 1.85.0 or higher
| Command | Description |
|---|---|
markdown-lexical-preview.openPreview |
Open Markdown Preview Lexical (Kyan) |
| Shortcut | Platform | Description |
|---|---|---|
Ctrl+Shift+L |
Windows/Linux | Open preview |
Cmd+Shift+L |
macOS | Open preview |
None at this time.
See CHANGELOG.md for release notes.