11ty-plugin-giallo/giallo-js/wit/world.wit
2026-01-23 19:48:31 +00:00

14 lines
284 B
Text

package docs:giallo-js@0.0.1;
interface syntax-highlighter {
render-highlighted: func(
code: string,
language: string,
theme-light: string,
theme-dark: string,
) -> result<string, string>;
}
world giallo-js {
export syntax-highlighter;
}