Silk Math Preview
A mathematics toolkit for Visual Studio Code
Write mathematics with live formula previews, completion and local image OCR, directly inside your editor.
TypeScript · MathJax · WebAssembly
Features & implementation
I develop and maintain Silk Math Preview, an open-source TypeScript extension published on the Visual Studio Marketplace. It provides live MathJax previews in TeX, Markdown, MDX, Quarto and Jupyter notebooks, with workspace macro support, formula completion and local screenshot/image OCR. Optional TikZ and pgfplots previews use a local WebAssembly renderer downloaded on first use. Development includes incremental formula scanning, caching, asynchronous rendering, cross-platform packaging and regression fixes.
- Custom macros across TeX, Markdown and Jupyter notebooks.
- Optional local WebAssembly rendering for TikZ and pgfplots.
- Incremental scanning, caching and asynchronous previews.