Stx

A syntax highlighter for the terminal.

Usage

import { defaultTheme, highlight } from "https://stx.deno.dev/{version}";
import "https://stx.deno.dev/{version}/components/typescript.ts";

const code = `<code>`;

console.log(highlight(defaultTheme, code, "typescript"));