Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>MathJax HighlightNew to Visual Studio Code? Get it now.
MathJax Highlight

MathJax Highlight

Casper Huang

|
528 installs
| (1) | Free
Highlight MathJax formulas.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

logo

MathJax Highlight

Visual Studio Marketplace Version Visual Studio Marketplace Installs
GitHub last commit GitHub issues GitHub stars

Introduction

A VSCode Extensions to highlight MathJax formulas.

Feature and Usage

feature syntax color is based on theme

Configurations

Set the scopes in your User Settings (not workspace) to avoid repeated reload prompts. Use the command Developer: Inspect Editor Tokens and Scopes to determine the global scope for your language (e.g., 'source.python' for python, 'source.js' for javascript, 'source' for all source languages).

Default scopes:

{
  "mathjax-highlight.scopes": [
    "source.c",
    "source.cpp",
    "source.java",
    "source.python"
  ]
}

[!WARNING] Changes take effect after reloading the editor due to VS Code limitations.

Reload Window Message Triggers:

  1. Change scopes to different value.
  2. Update this extension when scopes have been changed before.

Feel free to open an issue if you encounter any problem or have any suggestion.

Reference

VSCode Markdown | VSCode Markdown Math

License

Code is under the MIT License.

Logo using carbon:function as an element is under the Apache License 2.0.

Fonts used in feature image are Dancing Script (for Before and After) under the Open Font License and Input (for code) under the Input Font License

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