Microsoft/vscode

makefile / Markdown syntax highlighting quirks

Ouverte

#264 195 ouverte le 31 août 2025

 (3 commentaires) (0 réaction) (1 personne assignée)TypeScript (39 847 forks)batch import
AndroidGood first issueUIhelp wantedmarkdown-extupstream

Métriques du dépôt

Stars
 (184 936 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.103.2
  • OS Version: macOS Sequoia

Steps to Reproduce:

default: # Entrypoint
	echo "Hello, World!"

The trailing comment # Entrypoint should render as a comment in VSCode makefiles, including in markdown blocks with the code type set to make.

Instead, VSCode renders GFM code snippets as plain text.

And Markdown previews render default: # Entrypoint as one continuous target name. Including the colon (:) token.

Markdown previews also corrupt backslash (\) escaped multiline expressions.

Guide contributeur