NORMAL ~/wkd/p/markdown :set skin=modern utf-8

markdown.nvim

A self-contained Markdown toolkit for Neovim, behind one :Markdown command. Headings and folding, GFM tables, links and references, and a cursor-action dispatcher that opens whatever is under the cursor — all of it FileType-scoped, with no side effects on any buffer that is not Markdown.

status
beta — Beta stage — active development. This repository is past its first shape and in active use, but the surface is not frozen: breaking changes are still possible. Pin a commit or tag if you depend on it.
category
Editing
neovim
0.10+
repo
github.com/StefanBartl/markdown.nvim
commits
246
help
:help markdown

demo

recorded with VHS from demos/markdown.tape in a clean Neovim — re-recorded weekly
what is shown when
  1. :Markdown toc - table of contents + section spacing
  2. :Markdown table format - align a GFM table
  3. :Markdown table view box - floating preview

install

{
  "StefanBartl/markdown.nvim",
  opts = {},
}

docs/

git log

  1. docs fenced_scope.operations.fold defaults to true
  2. fix links: restore backslash separators in env-rooted target detection (regression of 4247bbf)
  3. fix hl: blockquote padding never exceeds the window text width
  4. fix links: env reference must be the whole first segment; config lookup only for candidates
  5. feat links: wrap_link puts the cursor into the link and enters insert mode
  6. feat hl: blockquote background is as wide as the quote block, configurable
  7. fix links: never prefix env-rooted link targets with ./, repair broken ones
  8. fix view_track: clamp topline to lnum after remap
  9. fix toc,spacing: skip identical TOC rewrites, track views through every edit
  10. fix toc: stop the window jumping when a save refreshes the TOC
  11. feat notify: request popup delivery explicitly in markdown.nvim's notifier
  12. fix format: buffer-clobber, fence detection and thematic-break bugs

keys

j / k
next / previous line
gg / G
first / last line
⏎
open the line under the cursor
/
search the plugins
:
command line — Tab completes
:help x
vimdoc of a plugin (:e x = plugin page)
:ls · :log · :stack
plugin list · activity stream · dependency graph
:colo x
colorscheme
:set skin=
modern | tui
?
this help
esc
close