Kata A kata with shiki
import { codeToHtml } from "shiki";
import { transformerTwoslash } from "@shikijs/twoslash";
const html = await codeToHtml(`console.log()`, {
// ^?
lang: "ts",
theme: "vitesse-dark",
transformers: [transformerTwoslash()],
});