Markdown math code block syntax should have LaTeX syntax highlighting inside #174731
Labels
feature-request
Request for new features or functionality
help wanted
Issues identified as good community contribution opportunities
markdown
Markdown support issues
Milestone
Type: Bug
When editing a Markdown file, VS Code will apply LaTeX syntax highlighting to math in double-dollar signs (math blocks), e.g.,
will color
frac
andinfty
and the numbers.GitHub Markdown also supports a
math
code block syntax (the triple-tick syntax; see reference), so the above could be written in GitHub-flavored Markdown asHowever, VS Code applies no syntax highlighting inside ```math blocks.
It'd be nice if it could apply the same highlighting as double-dollar signs.
VS Code version: Code 1.75.1 (Universal) (441438a, 2023-02-08T21:34:59.000Z)
OS version: Darwin arm64 22.2.0
Modes:
Sandboxed: Yes
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Extensions (19)
(1 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: