LaTeX Conceal replaces common LaTeX math commands with Unicode glyphs directly in the editor while keeping your original source unchanged. (e.g., \alpha is displayed as α)
Example
Before
After
In math mode:
\alpha → α
\mathbb{R} / \R → ℝ (depending on replacement table)
_{123} → ₁₂₃
Your file content is not modified; this is visual decoration only.
Features
Conceals LaTeX commands only inside math environments (inline and block).
Reveals source text around the cursor for easier editing.
Supports multiple reveal modes: token, environment, and line.
Supports custom replacements via settings.
Provides a status bar toggle (Conceal: ON/OFF) for quick runtime enable/disable.
Controls how much text is revealed when the cursor is inside concealed content.
Known Issues
Nested math environments are not handled correctly (e.g., $ ... \text{ $ ... $ } ... $).
Clicking the right side of a concealed glyph (e.g., α) may still place the caret on the left side of the original source token (e.g., \alpha). This is a limitation of decoration-based rendering.
Credits
The default LaTeX-to-Unicode mapping data is based on unicodeit (MIT License).
Inspired by Vim's conceal feature and similar extensions.