markview.nvim renders 2056 math symbols and calls its own comments experimental
A hackable markdown, Typst, latex, html(inline) & Asciidoc previewer for Neovim
At a glance
- What is it?
- markview.nvim is a Lua plugin for Neovim that renders Markdown, LaTeX, Typst, Asciidoc and inline HTML in place, with hybrid editing and a splitview. Its own README is generated by a markdoc header, its wrap support is limited to Markdown, and its fancier comment syntax is still marked experimental.
- Who is it for?
- markview.nvim fits a Neovim user who previews in the editor instead of in a browser and who wants LaTeX math or Asciidoc alongside ordinary Markdown. It does not fit someone who needs the exotic comment syntax out of the box, since that part is described as experimental and its extra forms need an external parser.
- Can I use it commercially?
- Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 7 days ago.
- What is it written in?
- Mainly Lua, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 23, 2026, and from our analysis. They are not legal advice.
Star history
- OXY2DEV/markview.nvim3,698 ★ · +47
| Repository | 2026-09-30 | 2026-11-23 |
|---|---|---|
| OXY2DEV/markview.nvim | 3.7k | 3.7k |
47 Stars in the last 54 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
The README is written by a markdoc header sitting in its first line
The first thing in README.md is a comment block that configures markdoc, and it is worth reading as documentation of how the project is built. It names doc/markview.nvim.txt as the generic filename to write, with force_write set so the file is rewritten rather than merged, and it carries a header with a description and the tag markview.nvim. A table of contents section lists the entries that belong in the generated vimdoc: Requirements, Commands, Configuration, Usage, Extras and Presets. Two more blocks control the Markdown itself. link_url_modifiers rewrites anchors such as #extra-modules, #presets and /Usage into the vimdoc tag they point at, list_items sets the markers to ◆ and ◇, and a tags table maps headings like Highlight groups onto two tag names at once. The .luarc.json file at the root is the Lua language server configuration.
The tagline names YAML while the feature list names Asciidoc
The project's own description calls it a hackable markdown, Typst, latex, html(inline) and Asciidoc previewer for Neovim, while the line under the title advertises Markdown, HTML, LaTeX, Typst and YAML. The two do not agree on the fifth format, and the feature list is the more reliable of the pair, because the Asciidoc section below it is spelled out syntax by syntax. What that section covers: admonitions, checkboxes including custom checkbox states, horizontal rules, literal blocks, hiding document attributes, image macros, keycode macros, ordered and unordered list items, and an automated table of contents, plus inline bold, highlights, italic, monospace and URIs. YAML appears in the tagline and nowhere in the visible feature list, so treat Asciidoc as the supported one.
Wrap is supported for Markdown only, and it is documented as a compromise
Text wrapping is the feature the project is most careful about, and the wording admits the cost. Wrap support is offered for Markdown only, at the moment, and the claim is that it lets you use wrapped text without losing most rendering features, where most is doing the work. Two wiki pages deal with the fallout: one on Integrations for fixing visual glitches that appear under wrap, and one for turning it off entirely. The README opens with a table putting `:set wrap` next to `:set nowrap`, which is the switch users reach for first. Everything else in the feature list is format agnostic, so the limitation is specific: enable wrap with a LaTeX or Asciidoc buffer open and the renderer has no documented behaviour for it.
HTML support is inline containers, with hr and br as the only voids
The HTML support is narrower than the word HTML suggests, and the wording says so: previews are customizable for container and void elements, and HTML appears as inline in the project's own description. The container list is explicit: a, b, code, em, i, kbd, mark, pre, s, strike, del, strong, sub, sup and u, each with an opening and closing tag rendered as a span. The void list has exactly two entries, hr and br, which is what an inline renderer can place inside a line. Anything else, a block level tag such as a div or a script, is not in either list. Since the previews for both categories are customizable, the styling of these fifteen elements is configuration rather than fixed, but the set of elements is not something the config can extend.
Math coverage is counted in symbol definitions and Unicode fonts
The LaTeX section is the longest part of the feature list, and it is quantified rather than described. Math blocks written as $$...$$ and inline math as $...$ are both supported, along with escaped characters, math symbols and \text{}. The symbol table is given a number: 2056 different math symbol definitions. Around that sit the commonly used commands, from \frac{} through the trigonometric set, the hyperbolic set, their inverses, the logarithm family, \min{}, \max{}, \Pr{}, \sup{}, \sqrt{}, \lvert{}, \lVert{} and \boxed{}. Fonts are named in the same style, \mathbb{}, \mathbf{}, \mathcal{}, \mathfrak{}, \mathsf{} and others including \mathbffrak{}, \mathbfit{}, \mathsfbfit{} and \mathtt{}, with the condition that they require any modern Unicode font. Sub and superscript text is handled with Unicode rather than markup.
Fancy comments are labelled experimental and split across two parsers
The comment feature carries an explicit warning: comments are still experimental, and the original parser only supports basic features. What the built-in parser handles is conventional commit style comments with a subset of Markdown and vimdoc, covering tasks such as feat or TODO and task scopes. Everything past that needs an external parser, and the list of syntax that then becomes available includes bold, italic, code, single and double quoted text, @mentions, an issue reference written as issues/reference#52, a URL, a help section written as |help-section|, and code blocks. So the boundary is a parser boundary: the common commit annotations work out of the box, and the markup inside a comment only appears once another tool supplies it. The wiki page on Integrations holds the details for that path.
The wiki is a submodule and the tags are numbered in the twenties
The repository layout explains where the documentation actually lives. Top level entries are .github, .gitmodules, .luarc.json, CHANGELOG.md, LICENSE, README.md, doc, lua, markview.nvim.wiki, plugin and test. The presence of .gitmodules next to a directory named markview.nvim.wiki says the wiki pages this project links to are pulled in as a submodule rather than committed as ordinary files, which is why the README can point at Configuration, Usage, Extras and Presets pages without those files being part of the tree. The runtime code sits under lua with plugin and test alongside it, and doc holds the generated help. Releases are tagged v28.1.0 on 2026-03-04, v28.2.0 on 2026-04-24 and v28.3.0 on 2026-05-16, a numbering scheme that tracks the year and month rather than a small semver, and the last push to main is dated 2026-09-17.
Editorial conclusion
markview.nvim fits a Neovim user who previews in the editor instead of in a browser and who wants LaTeX math or Asciidoc alongside ordinary Markdown. It does not fit someone who needs the exotic comment syntax out of the box, since that part is described as experimental and its extra forms need an external parser. Before adopting it, check that your colorscheme gives usable highlight groups, read the Integrations pages for wrap behaviour, and remember that the wiki lives in a submodule and the tagged releases stop at v28.3.0.
Frequently asked questions
Which file formats does markview.nvim preview?
The feature list covers Markdown with GitHub flavored syntax, inline HTML container and void elements, LaTeX math, Typst and Asciidoc. The title line of the README mentions YAML as well, but the feature list names Asciidoc instead, with admonitions, checkboxes, image macros and an automated table of contents.
Does markview.nvim support wrapped lines?
Wrap support exists for Markdown only, and the project describes it as keeping most rendering features while text wraps. The Integrations pages in the wiki cover fixing the visual glitches it can cause and disabling wrap altogether, using `:set wrap` and `:set nowrap`.
How much LaTeX does markview.nvim render?
It supports $$...$$ math blocks and $...$ inline math, escaped characters, \text{}, a list of common commands from \frac{} to \sqrt{} and \boxed{}, and 2056 math symbol definitions. Named fonts such as \mathbb{}, \mathbf{} and \mathtt{} require any modern Unicode font.
What are the fancy comments in markview.nvim?
They are conventional commit style comments with a subset of Markdown and vimdoc, supporting tasks such as feat or TODO and task scopes. The project marks them experimental, and the extra syntax including bold, code, mentions and help sections needs an external parser.
Where is the markview.nvim documentation stored?
The wiki pages the README links to, including Configuration, Usage, Extras and Presets, are pulled in as a submodule from a directory named markview.nvim.wiki, with .gitmodules at the repository root. The repository itself holds README.md, the generated help under doc, the Lua sources under lua, plus plugin and test directories.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/oxy2dev-markview-nvim)Star history chart for your README
[](https://hysenlabs.com/projects/oxy2dev-markview-nvim)Was this useful?