Skip to content

scriban/scriban-vscode

Repository files navigation

Scriban Syntax Coloring extension for Visual Studio Code

This extension allows to colorize Scriban scripts and Scriban-Html scripts following the syntax of the scriban templating language

Features

The syntax coloring supports two modes:

  • Plain scriban script (without using {{ and }}) with the expected file extensions:
    • .scriban
    • .sbn
  • Mixed scriban and HTML (using {{ and }} to enter scriban) with the expected file extensions:
    • .scriban-html
    • .scriban-htm
    • .sbn-html
    • .sbn-htm
    • .sbnhtml
    • .sbnhtm
  • Mixed scriban and text (using {{ and }} to enter scriban) with the expected file extensions:
    • .scriban-txt
    • .sbn-txt
    • .sbntxt
  • Mixed scriban and C# files (using {{ and }} to enter scriban) with the expected file extensions:
    • .scriban-cs
    • .sbn-cs
    • .sbncs