Syntax Highlighting Examples

July 31, 2022 ยท View on GitHub

Screenshots of syntax highlighting in a selection of languages, with the light and dark themes side-by-side.

Table of Contents

  1. Rust
  2. C#
  3. Powershell
  4. HTML/CSS/SCSS
  5. Javascript
    1. JSX
  6. Typescript
  7. Markup Formats

Rust

Using the official Rust Analyzer extension with semantic highlighting enabled.

Rust 1

Rust 2

Rust 3

Rust 4

C#

Using the official C# extension with semantic highlighting enabled.

C Sharp 1

C Sharp 2

C Sharp 3

Powershell

Using the official Powershell extension.

Powershell 1

Powershell 2

HTML/CSS/SCSS

Using the built-in HTML/CSS/SCSS language extensions.

HTML

CSS

SCSS

Javascript

Using the built-in Javascript language extension with semantic highlighting enabled.

Javascript 1

Javascript 2

JSX

Using the built-in Javascript language extension with semantic highlighting enabled.

JSX 1

Typescript

Using the built-in Typescript language extension with semantic highlighting enabled.

Typescript 1

Typescript 2

Typescript 3

Markup Formats

Markdown

Using the built-in Markdown language extension along with the Markdown All in One extension.

XML

Using the built-in XML language extension.

Json

Using the built-in Json language extension.

Yaml

Using the built-in Yaml language extension.

Toml

Using the Even Better TOML extension. This theme supports the Better TOML extension as well.

INI

Using the built-in INI language extension.

BNF

Using the BNF & EBNF Highlighting extension.