Editor Guide

How to Preview Markdown in Any Editor: 16 Editors Compared

Every editor hides its Markdown preview somewhere different — a shortcut, a toolbar button, a menu, or a plugin you have to install first. This guide gives the exact command for 16 editors and IDEs, says which ones need a plugin (and whether that plugin is still maintained), and compares what each preview can render.

Updated 12 min readBy the MarkdownPreview.net team
Quick answer

VS Code & Zed: Ctrl+Shift+V (⇧⌘V), or Ctrl+K V (⌘K V) for side by side. JetBrains: the Editor and Preview button at the editor’s top-right. Visual Studio 2026: opens in Split Preview by default. Obsidian: Ctrl+E (⌘E). Sublime Text, Neovim, Vim, Notepad++, Emacs: install a plugin first (details below).

No editor at hand? Paste or drop the file into MarkdownPreview.net — it works in any browser and renders Mermaid and math.

At a glance: every editor

“Not documented” means the vendor’s documentation doesn’t mention it — not that it definitely doesn’t work. Shortcuts are listed Windows/Linux first, then Mac.

EditorPreviewHow to open itMermaidMath
VS CodeBuilt inCtrl+Shift+V / ⇧⌘V · side: Ctrl+K V / ⌘K VYes1.121+Yes
Visual Studio 2026Built inSplit Preview (default) in the editor toolbarYesNot documented
Visual Studio 2022Built in (17.5+)Preview button at the editor’s top-leftPluginPlugin
JetBrains IDEsBundled plugin“Editor and Preview” button, top-rightPluginbundled, off by defaultYes
ZedBuilt inCtrl+Shift+V / ⇧⌘V · side: Ctrl+K V / ⌘K VYesNot documented
Xcode 27Built inEditor › CanvasNot documentedNot documented
ObsidianBuilt inCtrl+E / ⌘E (Reading view)YesYes
TyporaRenders as you typeCtrl+/ / ⌘/ toggles sourceYesYes
BBEditBuilt inMarkup › Preview in BBEdit (⌃⌘P)Not documentedNot documented
NovaBuilt inPreview icon in the path barNot documentedNot documented
KateBundled pluginView › Tool Views › Show PreviewDependsDepends
Sublime TextPluginPalette: “Markdown Preview: Preview in Browser”Pluginwith configPlugin
Neovim / VimPlugin:MarkdownPreview or :RenderMarkdownPluginPlugin
Notepad++PluginPlugins › MarkdownPanelPluginNot documented
EmacsPackageC-c C-c l (markdown-mode)NoDepends
GNOME Text Editor / geditNoneUse Apostrophe or a browserNoNo

Editors with a built-in preview

These show rendered Markdown out of the box (or with a plugin that ships with the editor).

VS Code, Cursor & Windsurf

Built inWindows · macOS · Linux
  • Open preview in a tab: Ctrl+Shift+V / ⇧⌘V
  • Open preview beside the editor: Ctrl+K V / ⌘K V
  • Or run Markdown: Open Preview to the Side from the Command Palette.

Scrolling is synced both ways, math ($…$, $$…$$) is on by default, and ```mermaid blocks render since VS Code 1.121. Cursor, Windsurf, and other VS Code forks share the same preview. Settings, GitHub styling, PDF export, and fixes are in our complete VS Code Markdown preview guide.

Visual Studio 2026 & 2022

Built inWindows
Visual Studio 2026

Markdown files open with a live side-by-side preview. The preview controls in the editor toolbar switch between three modes:

  • Split Preview (default) — source and rendered preview side by side, updating as you type.
  • Open Preview — rendered view only.
  • Edit Markdown — source only.

Mermaid diagrams render in the preview, with zoom controls at its top-left. Microsoft’s January 2026 update notes these features are Visual Studio 2026 only.

Visual Studio 2022

The built-in Markdown editor arrived in version 17.5. Use the preview button at the top-left of the editor; Microsoft’s announcement also lists Shift+F7 to open the preview on the right (later 17.x builds may differ). For Mermaid, math, and synced scrolling, install the free Markdown Editor v2 extension by Mads Kristensen: F7 cycles Source → Split → Preview, and Shift+F7 cycles back.

IntelliJ IDEA, WebStorm, PyCharm & other JetBrains IDEs

Bundled pluginWindows · macOS · Linux
  1. 1Open the .md file. The preview usually appears beside the source automatically.
  2. 2If it doesn’t, click Editor and Preview (or Preview) in the top-right corner of the editor.
  3. 3To change the default, open Settings (Ctrl+Alt+S) → Languages & Frameworks → Markdown → Preview layout.

Preview comes from the bundled JetBrains Markdown plugin. Scroll sync is on by default and math works with $…$ and $$…$$. Mermaid and PlantUML are off by default: enable the bundled Mermaid plugin under Settings → Plugins → Installed, and install PlantUML from the Markdown settings page. JetBrains describes its support as based on CommonMark and doesn’t document full GitHub Flavored Markdown, so check README-specific syntax such as alerts in our GitHub Markdown preview.

No default keyboard shortcut is documented — assign one in Settings → Keymap if you switch layouts often.

Zed

Built inmacOS · Linux · Windows
  • Open preview: Ctrl+Shift+V / ⇧⌘V (markdown::OpenPreview)
  • Open preview to the side: Ctrl+K V / ⌘K V (markdown::OpenPreviewToTheSide)
  • Press Ctrl+Shift+V / ⇧⌘V again in the preview to return to the editor.

The shortcuts only work while a Markdown file is focused. The preview updates live and follows the cursor, and supports GitHub-style tables, task lists, footnotes, and strikethrough. Mermaid diagrams render since Zed 0.225.0. To open .md files straight into the preview, set "open_markdown_files_in_preview": true.

Zed’s Markdown docs page doesn’t cover the preview; these bindings come from Zed’s shipped default keymaps. We found no math rendering in Zed’s Markdown parser.

Xcode

Built inmacOS · Xcode 27 and later

Xcode 27 (September 2026) added what Apple calls an “all new Markdown editor”. To see the rendered preview next to the source, activate the canvas with Editor → Canvas. Use Open As → Source Code to edit the raw Markdown.

The rendered view is new in Xcode 27. Apple doesn’t document Mermaid or math support.

Obsidian

Built inWindows · macOS · Linux · iOS · Android
  • Toggle Reading view: Ctrl+E / ⌘E, or the view switcher at the top-right of the note.
  • Live Preview (the default editing mode) renders formatting as you type; switch to Source mode from the status bar.
  • Side by side: Ctrl/⌘-click the view switcher to open the note in Reading view in a new pane.

Obsidian supports CommonMark, GitHub Flavored Markdown, LaTeX math (MathJax), and Mermaid diagrams, plus its own wikilinks and callouts.

Typora

Built inWindows · macOS · Linux

Typora has no separate preview — it renders Markdown inline as you type. Toggle Source Code Mode (View menu) with Ctrl+/ / ⌘/ to see the raw text. It follows GitHub Flavored Markdown and renders math (MathJax) and Mermaid, sequence, and flowchart diagrams.

BBEdit

Built inmacOS

Choose Markup → Preview in BBEdit (⌃⌘P). The preview window is linked to the document and updates without saving. BBEdit renders with its built-in cmark processor by default, and can use Pandoc, MultiMarkdown, Discount, cmark-gfm, or your own command if installed. Custom preview templates and CSS are supported; BBEdit doesn’t document Mermaid or math rendering.

Nova

Built inmacOS

Click the Preview icon at the right end of the editor’s path bar, then choose a new tab, a split (right or below), or your browser — or use Project → Preview. The preview refreshes on save, with an option to reload as you type, and you can style it with custom CSS. Previews are on by default for local projects.

Kate

Bundled pluginLinux · Windows · macOS (KDE)
  1. 1Enable Document Preview in Settings → Configure Kate → Application → Plugins.
  2. 2Open the preview with View → Tool Views → Show Preview.

The plugin shows a live preview using whatever Markdown viewer component (KPart) is installed — KDE’s markdownpart, KMarkdownWebView, or Okular’s. If the preview is blank, install one of these from your distribution’s packages. What it renders (tables, math, diagrams) depends on the component.

Editors that need a plugin

These editors only highlight Markdown syntax. Several popular plugins are no longer maintained, so we note the last activity we found for each.

Sublime Text

Plugin neededWindows · macOS · Linux
  1. 1Install Package Control if you haven’t, then run Package Control: Install Package and choose MarkdownPreview.
  2. 2Open the Command Palette (Ctrl+Shift+P / ⇧⌘P) and run Markdown Preview: Preview in Browser.

MarkdownPreview (by facelessuser, updated March 2026) renders in your browser using Python-Markdown offline, or GitHub’s or GitLab’s API online. It supports MathJax, and Mermaid through its SuperFences settings. It has no default shortcut; add one to your key bindings:

Preferences → Key Bindings
{ "keys": ["alt+m"], "command": "markdown_preview", "args": { "target": "browser", "parser": "markdown" } }

For auto-refresh on save, also install the LiveReload package. MarkdownLivePreview, an in-editor alternative, hasn’t been updated since 2019.

Neovim & Vim

Plugin neededWindows · macOS · Linux

Neovim and Vim ship Markdown syntax highlighting only. Pick a plugin by how you want to see the result:

Rendered inside the buffer — render-markdown.nvim (Neovim, actively maintained)
lazy.nvim
{
    'MeanderingProgrammer/render-markdown.nvim',
    dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-mini/mini.nvim' },
    opts = {},
}

Toggle with :RenderMarkdown toggle, or open a rendered copy beside the source with :RenderMarkdown preview. Needs Neovim 0.9+ (0.10 recommended) and the treesitter Markdown parsers.

Live preview in the browser — markdown-preview.nvim (Neovim and Vim 8.1+)
lazy.nvim
{
    "iamcco/markdown-preview.nvim",
    cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
    ft = { "markdown" },
    build = function() vim.fn["mkdp#util#install"]() end,
}

Run :MarkdownPreview to open the browser preview, :MarkdownPreviewStop to close it, or :MarkdownPreviewToggle. It syncs scrolling and renders KaTeX, Mermaid, and PlantUML — but its last commit was in October 2023, so expect unfixed issues.

Another option, peek.nvim, opens a webview preview with KaTeX and Mermaid but requires Deno and has had little activity since 2024.

Notepad++

Plugin neededWindows
  1. 1Open Plugins → Plugins Admin, search for Markdown Panel, tick it, and click Install.
  2. 2Open a .md file and choose Plugins → MarkdownPanel → Toggle Markdown Panel.
  3. 3Optional: assign a shortcut (the plugin suggests Ctrl+Shift+M) in Settings → Shortcut Mapper → Plugin commands.

Markdown Panel (actively maintained; v0.9.3, July 2026) docks a rendered view beside the editor, can follow the caret, and renders Mermaid. The older MarkdownViewer++ is still listed but hasn’t changed since 2018.

Emacs

Plugin neededWindows · macOS · Linux

Install markdown-mode (M-x package-install RET markdown-mode RET from NonGNU ELPA or MELPA) and point it at a Markdown processor such as Pandoc or MultiMarkdown:

init.el
(use-package markdown-mode
  :ensure t
  :mode ("README\\.md\\'" . gfm-mode)
  :init (setq markdown-command "pandoc"))
  • C-c C-c l — live preview in a side *eww* window, updated as you edit.
  • C-c C-c p — render to a temporary file and open it in your browser.
  • C-c C-c v — export to HTML and open it in your browser.

Rendering quality depends on markdown-command; use gfm-mode for GitHub-flavored files. markdown-mode highlights math syntax but doesn’t render it itself.

GNOME Text Editor & gedit

No previewLinux

Neither has a Markdown preview, and none of gedit’s bundled plugins adds one. On GNOME, install Apostrophe — a Markdown editor with a live preview — or use the browser option below.

Atom

Discontinued—

GitHub archived Atom on December 15, 2022, and it no longer receives updates (its preview was Ctrl+Shift+M). Move to VS Code, Zed, or Pulsar (the community fork) instead.

No editor? Preview in the browser

On a locked-down work PC, a Chromebook, or a phone, MarkdownPreview.net previews Markdown with no install: paste text or drop a .md file, and it renders GitHub-style tables, task lists, alerts, footnotes, Mermaid, and math side by side, with export to PDF or HTML. Nothing is uploaded. For GitHub READMEs, use the GitHub Markdown preview; for diagrams, the Mermaid live editor; for equations, the LaTeX math preview.

How we verified this guide

Each command, shortcut, and feature comes from the editor’s own documentation, release notes, or shipped source — for Zed, its default keymap files; for plugins, their README and registry pages (Package Control, Plugins Admin, VS Marketplace, JetBrains Marketplace). Last-activity dates are the latest commits or releases we found on the date shown at the top.

Where a vendor doesn’t document something, the table says “Not documented” instead of guessing. Spot something out of date? Email hello@markdownpreview.net.

Frequently asked questions

What is the shortcut for Markdown preview?

It depends on the editor. In VS Code and Zed it is Ctrl+Shift+V (⇧⌘V on Mac) to open the preview, and Ctrl+K V (⌘K V) to open it beside the editor. In Obsidian, Ctrl+E (⌘E) toggles Reading view. In BBEdit it is ⌃⌘P. JetBrains IDEs, Sublime Text, Notepad++, and Neovim have no default preview shortcut — you click a button or run a command, and can assign your own key.

Does Sublime Text have a Markdown preview?

Not built in. Install the MarkdownPreview package from Package Control, then run "Markdown Preview: Preview in Browser" from the Command Palette. It opens the rendered file in your browser; install LiveReload as well if you want it to refresh when you save.

How do I preview Markdown in IntelliJ IDEA or PyCharm?

Open the .md file and click "Editor and Preview" (or "Preview") at the top-right of the editor. The bundled Markdown plugin provides it. Set the default layout in Settings → Languages & Frameworks → Markdown. Mermaid diagrams need the separate bundled Mermaid plugin enabled under Settings → Plugins → Installed.

Can Neovim preview Markdown?

Not by itself — Neovim only highlights Markdown syntax. render-markdown.nvim renders Markdown inside the buffer and is actively maintained; markdown-preview.nvim opens a live preview in your browser with synced scrolling, KaTeX, and Mermaid, but hasn't had a commit since 2023.

Does Xcode preview Markdown files?

Yes, from Xcode 27, which Apple describes as having an "all new Markdown editor": activate the canvas (Editor › Canvas) to see the rendered preview next to the source. The rendered view is new in Xcode 27.

Which editors render Mermaid diagrams in the Markdown preview?

Built in: VS Code (1.121 and later), Visual Studio 2026, Zed, Obsidian, and Typora. With a plugin or setting: JetBrains IDEs (enable the bundled Mermaid plugin), Visual Studio 2022 (Markdown Editor v2), Sublime Text (MarkdownPreview with SuperFences), Notepad++ (Markdown Panel), and Neovim/Vim (markdown-preview.nvim). To check a diagram anywhere, paste it into our Mermaid live editor.

Is there a way to preview Markdown without installing anything?

Yes — open MarkdownPreview.net in any browser and paste or drag in your file. It renders GitHub-style Markdown, Mermaid, and math, and the file never leaves your device.

Sources

Preview Markdown without installing anything
Paste or drop a file — Mermaid, math, and GitHub syntax included.
Open Markdown Previewer

More Markdown Tools & Guides

All tools are free, run in your browser, and require no account.

Live Markdown PreviewerTool

Edit Markdown with a real-time preview, Mermaid, KaTeX math, drag-and-drop files, and one-click export.

Open the tool
GitHub Markdown PreviewTool

Load any public README, test it, and look up any GitHub syntax in the complete cheat sheet.

Open the tool
Mermaid Live EditorTool

13 diagram types with examples, live rendering, and SVG/PNG download.

Open the tool
LaTeX Math PreviewTool

Typeset equations as you type, with a copy-ready KaTeX cheat sheet of 180+ commands.

Open the tool
README Template GeneratorTool

Pick sections, fill in your project, and download a GitHub-ready README.md with badges and a TOC.

Open the tool
AI Markdown ViewerTool

Paste ChatGPT, Claude, or Gemini output and read it formatted, with tables, code, and math.

Open the tool
What Is Markdown?Guide

A plain-English introduction: what Markdown and .md files are, where it came from, and where it is used.

Read the guide
Markdown in Google DocsGuide

Preview .md files in Drive, edit in Docs' Markdown mode, and paste, convert, or export Markdown.

Read the guide
Best Online Markdown ViewersGuide

Six free tools tested with the same document: rendering, privacy, and phone support compared.

Read the guide
GitHub Markdown Not Rendering?Guide

16 causes found by symptom — tables, lists, image paths, code fences, alerts, Mermaid, math — with tested fixes.

Read the guide
Markdown Preview in VS CodeGuide

Preview shortcuts, settings verified on VS Code 1.141, built-in Mermaid and math, extensions, and fixes.

Read the guide
How to Open an .md FileGuide

Open and read Markdown files formatted on Windows, Mac, Linux, iPhone, Android, Word, and Google Docs.

Read the guide
Preview Markdown in a BrowserGuide

Six free ways to read .md files in Chrome, Edge, Firefox, or Safari — compared for privacy and features.

Read the guide