import * as shiki from "shiki"; import { shikiCode } from "shikicode"; import { hookClosingPairs, hookTab } from "shikicode/plugins"; const theme = "github-dark"; const language = "javascript"; const h = await shiki.getHighlighter({ langs: [language], themes: [theme] }); const editor = shikiCode() .withPlugins( hookTab, hookClosingPairs(), ) .create(container, h, { value: `console.log("Hello, shikicode 👋!");`, language, theme, });