VS Code Extensions
L

latex-equation-preview

by fluidsandbox

A simple, offline LaTeX equation previewer using KaTeX

Downloads

9

Rating

— (0)

Version

0.0.4

Last updated

Aug 03, 2026

A simple, offline LaTeX equation previewer. This Visual Studio Code extension was originally created during the development of fluidsandbox as a way to visualise equations embedded in C++ comments.

Why another extension? I needed something fast that worked offline. Its functionality was inspired by mathURL, which served me well over the years.

LaTeX Equation Preview in action.

This extension contributes the following setting:

  • latex-equation-preview.openPanel: Show the preview panel. This can be accessed by opening the Command Palette and selecting Preview LaTeX Equation.

Acknowledgements

LaTeX Equation Preview uses KaTeX to render LaTeX equations without an Internet connection. Please check its LICENSE.

The project includes the following KaTeX assets:

  • katex.min.css: Stylesheet for equation rendering.
  • katex.min.js: KaTeX rendering library.
  • fonts folder: Required font files for LaTeX support.

Contributions

As it stands right now, the extension is enough for my needs. I am not sure I will have time to accept contributions.

Credits

Author: Diego Park.

Related extensions