MathJax IntelliSense for C/C++
VSCode Marketplace · GitHub Repository
Features
- Render mathematical formulas directly in your docstrings
///
or/** */
comments. - Support
Doxygen
andMarkdown
formats.
Configurations
Domain: mathjax-intellisense-ccpp
· General Settings
formula
Type: string[]
Default: ['doxygen']
Enum: ['doxygen', 'markdown']
cpp
/**
* 1. \f$ E = mc^2 \f$ (inline, breakable)
* 2. \f( E = mc^2 \f) (inelie, breakable)
* 3. \f[ E = mc^2 \f] (block, breakable)
* 4. \f{$env}{ E = mc^2 \f} (block, breakable), where `$env` is the environment name, e.g., `equation`, `align`, etc.
*/
cpp
/**
* 1. $ E = mc^2 $ (inline, unbreakable)
* 2. $$ E = mc^2 $$ (block, breakable)
*/