Skip to content
On this page

Syntax Highlighting

Once your HTML and CSS templates grow in size you might want to add some syntax highlighting.

VS Code

Comment tagged templates

With the following extension you can add syntax highlighting to tagged template strings using language identifier comments:


import { Minze, MinzeElement } from 'minze'

class MyElement extends MinzeElement {
  html () => /* html */ `
    <div>Hello Minze!</div>

  css () => /* css */ `
    :host {
      display: flex;


Released under the MIT License.