Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/64kramsystem/vscode-markdown-code-blocks-asm-syntax-highlighting

Visual Studio Code extension that adds Assembly syntax highlighting to Markdown fenced code blocks.
https://github.com/64kramsystem/vscode-markdown-code-blocks-asm-syntax-highlighting

asm assembly extensions grammars hcl terraform visual-studio-code

Last synced: 10 days ago
JSON representation

Visual Studio Code extension that adds Assembly syntax highlighting to Markdown fenced code blocks.

Awesome Lists containing this project

README

        

# VSCode Markdown Code blocks Assembly Syntax highlighting

This extension adds Assembly syntax highlighting to Markdown fenced code blocks.

Code blocks like the following:

```asm
main:
mov eax, 0xDEADCAFE
int 3
```

will be highlighted, like:

![Highlighted block rendering](https://github.com/64kramsystem/vscode-markdown-code-blocks-asm-syntax-highlighting/blob/master/readme_images/hightlighted_block_rendering.png?raw=true)

This work based on [Matt Bierner's work](https://github.com/mjbvz/vscode-fenced-code-block-grammar-injection-example).

## Setup

This extension does not add the grammar; it only connects Markdown ASM code blocks to the existing ASM grammar.

For this reason, it requires a preexisting extension that provides the grammar, for example, [nasm x86 syntax highlighting](https://marketplace.visualstudio.com/items?itemName=LucianIrsigler.nasm).