Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Markdown Assembly Code Block HighlightingNew to Visual Studio Code? Get it now.
Markdown Assembly Code Block Highlighting

Markdown Assembly Code Block Highlighting

Saverio Miroddi

|
1,402 installs
| (0) | Free
Highlights Assembly code blocks in Markdown with a bundled NASM grammar. No additional extensions required.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Markdown Assembly Code Block Highlighting

Highlights asm and nasm fenced code blocks in the VS Code Markdown editor. Fence names are case-insensitive; backticks and tildes are supported, including blocks in lists and blockquotes.

```asm
mov eax, 42
; Assembly comment
```

The NASM x86/x64 syntax grammar is bundled. No additional extensions, runtime packages, or extension JavaScript are required. Requires VS Code 1.141 or later.

This extension provides editor syntax highlighting, not Markdown preview rendering or language-server features. It does not associate itself with standalone .asm files.

Development

Run npm ci and npm test to test highlighting and Markdown boundaries with VS Code's TextMate engine. Test dependencies are excluded from the extension package.

Credits

Based on Matt Bierner's Markdown grammar injection example. Bundled grammar sources and licenses are recorded in THIRD_PARTY_NOTICES.md.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft