Editing · beta · Neovim 0.11+ · 402 commits
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.
demos/markdown.tape in a clean Neovim — re-recorded weekly
what is shown when
- :Markdown toc - table of contents + section spacing
- :Markdown table format - align a GFM table
- :Markdown table view box - floating preview
Connections
Tap the picture to open it at full size.
Install
{
"WKDSteve/markdown.nvim",
opts = {},
} 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.
Documentation
- docs/BINDINGS.md
- docs/CONTRIBUTING.md
- docs/README.md
- docs/WORKFLOW.md
- docs/architecture.md
- docs/commands.md
- docs/configuration.md
- docs/fenced-scope.md
- docs/health.md
- docs/hover.md
- docs/image-captions.md
- docs/installation.md
- docs/keymaps.md
- docs/menu.md
- docs/quickstart.md
- docs/table-wrap.md
- docs/what-you-get.md
Recent commits
- test sheets: links.cwd-speed writes its tree with libuv and a smaller node_modules, inside the 10 s of a case on Windows
- test hover: a cut preview page is 1 line plus the marker for a cap of 2, as hover.nvim d1ed18c shows it
- test sheets: :Markdown links show cwd measured on 300 notes, node_modules and dot folders left out
- perf links, file_refs: list *.md with the lib walker instead of globpath "**"
- fix handler: a bare (v1.2) or (example.com) is no file for ma
- feat handler: ma on a bare (path) opens that file when the cursor is inside it
- test handler: ma and double-click on a link line as a test sheet, with a real path in the parenthesis
- fix handler: a src= on a neighbouring line no longer claims a markdown link line
Combos
- Markdown toolkit
One document, several jobs: structure, list continuation, an external render, and decoration inside its code blocks.
cascade.nvim , mdview.nvim , emojis.nvim , color_my_ascii.nvim