nvim-md-preview
The Markdown preview for Neovim that follows your cursor and lets you click back. One Rust binary, no Node.js, works offline. Mermaid, KaTeX, PDF/DOCX export, Git diff, slides
What XERJ indexed
Snapshot
The whole repository at commit cf0492bb9f (2026-10-29). main is 5 commits ahead.
Selected work

“export slides as a PDF with one slide per page”. 11 files, 172 lines in src/preview, src, tests.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-30. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
katexluamarkdownmarkdown-previewmermaidneovimneovim-pluginnvim
Example questions
- How does nvim-md-preview implement katex?
- Where does nvim-md-preview handle “export slides as a PDF with one slide per page”?
- What does src/preview do in nvim-md-preview?
Inside the indexed corpus
- 52 files, 5.1 MB in total, about 100.1 KB per file.
- The selected commit changed 11 of those files (21.2%).
- Languages by size: JavaScript 34.5%, Rust 28.1%, Lua 24.4%, CSS 8.6%, HTML 2.5%.
- On GitHub since 2026-10-27, last push 2026-10-29, 116 commits on main.
- The pin is 5 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for ywsrock/nvim-md-preview on 2026-10-31, and the LICENSE file at commit cf0492bb9f was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
ywsrock (@ywsrock) has 1 selected repository on the hub.
Using XERJ with nvim-md-preview
- XERJ vs Omnisearch for an Obsidian vault nvim-md-preview is tagged obsidian on GitHub.
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
The prompt
Paste it into your AI agent. It clones ywsrock/nvim-md-preview at the pinned commit and indexes it on your machine.
Search the GitHub repository ywsrock/nvim-md-preview with XERJ (https://hub.xerj.org/corpus/ywsrock--nvim-md-preview). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/ywsrock/nvim-md-preview nvim-md-preview && git -C nvim-md-preview checkout cf0492bb9f690d9a8122551adc42f46c7f90c5a9 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./nvim-md-preview --url http://127.0.0.1:9200 --prefix nvim-md-preview --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: MIT. Keep the copyright notice and credit the authors.
Related
ywsrockWriting and copy corporamarkdownlinttextlintdunorth595--ai-agent-memoryETieppo/scaled_markdown.nvimovasendin/markdown_preview_editorxeind/vallow.nvim
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.