Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Neovim
  3. mdmath.nvim

mdmath.nvim

MITLua

A Neovim plugin that previews inline LaTeX equations in Markdown files using the Kitty Graphics Protocol.

GitHubGitHub
228 stars17 forks0 contributors

What is mdmath.nvim?

mdmath.nvim is a Neovim plugin that provides real-time previews of LaTeX equations embedded in Markdown files. It renders equations as inline images directly in the terminal using the Kitty Graphics Protocol, eliminating the need to switch to external preview tools while writing technical or academic documents.

Target Audience

Neovim users who write Markdown documents containing mathematical notation, such as researchers, students, and technical writers.

Value Proposition

It offers a seamless, terminal-integrated equation preview experience without leaving Neovim, with dynamic sizing and configurable display options tailored for Markdown workflows.

Overview

A Neovim plugin for inline LaTeX equation previews in Markdown.

Use Cases

Best For

  • Writing academic papers with LaTeX equations in Markdown
  • Creating technical documentation that includes mathematical formulas
  • Previewing LaTeX math inline while editing in Neovim
  • Avoiding external GUI tools for equation rendering
  • Using Kitty terminal with Neovim for enhanced Markdown editing
  • Dynamic scaling of equation images based on content

Not Ideal For

  • Users on terminals without Unicode Placeholders support, like Konsole or WezTerm
  • Developers on Windows or untested platforms due to Linux/MacOS focus
  • Teams needing stable, production-ready plugins without alpha-stage limitations
  • Projects requiring advanced features like floating window previews, not yet implemented

Pros & Cons

Pros

Inline Equation Previews

Renders LaTeX equations as images directly in the Neovim buffer using Kitty Graphics Protocol, eliminating the need for external preview tools as highlighted in the key features.

Dynamic Sizing

Automatically adjusts equation dimensions for non-inline equations with configurable scales via the dynamic_scale option, ensuring better visual integration in documents.

Cursor Handling

Hides equations under the cursor or during insertion via anticonceal and hide_on_insert options, reducing clutter while editing for enhanced clarity.

Lightweight Terminal Integration

Prioritizes a terminal-native approach within Neovim, avoiding GUI tools and keeping the workflow seamless as per the plugin's philosophy.

Cons

Limited Terminal Compatibility

Only fully supports Kitty terminal (>=0.28.0); other terminals lack Unicode Placeholders support, restricting usability across different setups as admitted in the README.

Alpha Stage Limitations

Missing key features like floating windows and out-of-line rendering, with many planned items still in development, making it incomplete for advanced use cases.

Complex Setup Dependencies

Requires NodeJS, npm, ImageMagick, and rsvg-convert, plus specific terminal configurations, creating a steep installation barrier compared to simpler plugins.

Frequently Asked Questions

Quick Stats

Stars228
Forks17
Contributors0
Open Issues12
Last commit1 year ago
CreatedSince 2024

Tags

#latex#neovim-plugin#editor-enhancement#markdown#mathematical-typesetting#neovim#lua

Built With

N
Neovim
N
Node.js
I
ImageMagick
L
Lua
l
librsvg

Included in

Neovim20.6k
Auto-fetched 1 day ago

Related Projects

markdown-preview.nvimmarkdown-preview.nvim

markdown preview plugin for (neo)vim

Stars7,923
Forks399
Last commit2 years ago
render-markdown.nvimrender-markdown.nvim

Improve viewing Markdown in Neovim

Stars4,816
Forks120
Last commit25 days ago
markview.nvimmarkview.nvim

A hackable markdown, Typst, latex, html(inline) & Asciidoc previewer for Neovim

Stars3,552
Forks102
Last commit5 days ago
peek.nvimpeek.nvim

Markdown preview plugin for Neovim

Stars872
Forks86
Last commit1 year ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub