Microsoft/vscode

makefile / Markdown syntax highlighting quirks

Open

#264.195 geöffnet am 31. Aug. 2025

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (1 zugewiesene Person)TypeScript (10.221 Forks)batch import
help wantedmarkdown-extupstream

Repository-Metriken

Stars
 (74.848 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 11h 43m) (1.000 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide