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.11+
- repo
- github.com/WKDSteve/markdown.nvim
- commits
- 402
- help
- :help markdown
demo
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
install
{
"WKDSteve/markdown.nvim",
opts = {},
} docs/
- BINDINGS.md
- CONTRIBUTING.md
- README.md
- WORKFLOW.md
- architecture.md
- commands.md
- configuration.md
- fenced-scope.md
- health.md
- hover.md
- image-captions.md
- installation.md
- keymaps.md
- menu.md
- quickstart.md
- table-wrap.md
- what-you-get.md
git log
- 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
- fix handler: ma / double-click opens the link under the cursor, not the first parenthesis
- docs graphs: connections through optional loaders, programs, HTTP and files
- docs readme: connections to the other repos of the workshop, as a picture and a list
- docs readme: the icon of the plugin on top, the files in assets/icons/markdown-nvim