Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>ExcaliMathNew to Visual Studio Code? Get it now.
ExcaliMath

ExcaliMath

DynoW

|
323 installs
| (0) | Free
Render beautiful LaTeX math equations directly in Excalidraw
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ExcaliMath for VS Code

Turn VS Code into your math diagram studio.

ExcaliMath brings Excalidraw and advanced math workflows directly into Visual Studio Code, so you can create and edit equations, plots, and technical visuals without leaving your editor.

Create or open files with one of these extensions:

  • .excalimath
  • .excalidraw
  • .excalimath.svg
  • .excalidraw.svg
  • .excalimath.png
  • .excalidraw.png
  • .excalimath.json
  • .excalidraw.json

Try the web version: https://excalimath.my-lab.ro/ (fully Excalidraw compatible).

Workspace-focused view

Why install

  • Faster math diagrams for notes, docs, lectures, and technical reports
  • Native Excalidraw compatibility across web and VS Code workflows
  • Editable .png and .svg with embedded source
  • One-tool pipeline for draw, refine, and export

Showcase

Switch theme quickly

Theme switching showcase

Plot equations

Full VS Code context view

Update equations fast

Equation update showcase

Key features

Edit images directly

Rename file extension to change export/source format, for example:

  • document.excalimath -> document.excalimath.png
  • document.excalimath -> document.excalimath.svg
  • document.excalidraw -> document.excalidraw.png
  • document.excalidraw -> document.excalidraw.svg

Configure image export defaults:

{
  "excalimath.image": {
    "exportScale": 1,
    "exportWithBackground": true,
    "exportWithDarkMode": false
  }
}

Draw from browser-based VS Code

Install and use the extension in:

  • github.dev
  • vscode.dev

Great for editing diagrams directly from GitHub repositories.

Import public libraries

Use reusable community assets from libraries.excalidraw.com.

View and edit drawing source

Switch between visual editor and file source (text/image) using the editor toolbar.

View source from toolbar

Associate more file extensions

By default, the extension handles:

  • *.excalimath
  • *.excalidraw
  • *.excalimath.svg
  • *.excalidraw.svg
  • *.excalimath.png
  • *.excalidraw.png

To associate more extensions (example: all SVG files), add:

{
  "workbench.editorAssociations": {
    "*.svg": "editor.excalimath"
  }
}

Note: only Excalidraw/ExcaliMath-compatible SVG content is editable.

Share a workspace library

Set a workspace library path in .vscode/settings.json:

{
  "excalimath.workspaceLibraryPath": "path/to/library.excalidrawlib"
}

The path is relative to workspace root (absolute paths also work, but are machine-specific).

Configure language

By default, extension language follows VS Code display language. Override with:

{
  "excalimath.language": "fr-FR"
}

Contact

Report VS Code integration bugs and feature requests in this repository.

For core editor behavior unrelated to VS Code integration, use the ExcaliMath or Excalidraw project trackers.

Note for contributors

The extension goal is a smooth, low-friction bridge between ExcaliMath web and VS Code.

Contributions that significantly diverge from the core ExcaliMath/Excalidraw user experience are generally out of scope, except for VS Code-specific integration improvements.

If unsure, start a discussion: https://github.com/DynoW/excalimath-vscode/discussions

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft