This repository contains the source for the neovim.io website.
To report a bug Neovim, go here: https://github.com/neovim/neovim
Just fork this repository and send us a pull request! :-)
This site is statically generated using Hugo. It takes one minute to get setup, just do the following:
- Install Hugo
brew install hugo
- (Optional) To include the documentation pages locally:
./gendoc.lua <path>/<to>/<nvim>
- Build and view the website locally:
hugo serve -D
- Open http://localhost:1313/ to view the website.
Notes:
- Create new blog posts (news items) using the command:
The filename won't show up on the site -- the page url will be in the form of
hugo new content content/news/<filename>.md
/news/2026/12/where 2026 is the year and 12 the month, as defined in the front matter. - Site search (for
:helpdocs) is served by Algolia Docsearch.- The javascript and UI container were setup in this commit.
- The docs pages don't use the layout so they also need to manually include the javascript and define a UI container.
- Admin: https://www.algolia.com/apps/X185E15FPG/dashboard
- Config: algolia-docsearch-config.js
- Codeblock highlighting
- The highlighting for the generated help docs (
/doc/user/) is done by:static/css/neovim-hi.cssstatic/highlight/styles/neovim.min.css
- Hugo can provide highlighting for markdown codeblocks, see the
[markup]section inhugo.toml.- To list/generate Hugo syntax themes:
hugo gen chromastyles --style nord > static/css/syntax.css - To use the them, commit
static/css/syntax.cssand enable it by uncommenting this line:- And fiddle with the
[markup]section inhugo.toml.
- And fiddle with the
- To list/generate Hugo syntax themes:
- The highlighting for the generated help docs (