fix components paths

This commit is contained in:
Elijah 2024-10-01 16:27:08 +00:00
parent b1aff7147e
commit b110704c41

View File

@ -350,11 +350,11 @@ class ShikiJsTransformer(ShikiBaseTransformers):
class ShikiCodeBlock(Component):
library = "/utils/code"
library = "/components/shiki/code"
tag = "Code"
alias = "ShikiCode"
language: Var[LiteralCodeLanguage] = Var.create("python")
theme: Var[LiteralCodeTheme] = Var.create("github-dark")
theme: Var[LiteralCodeTheme] = Var.create("one-light")
themes: Var[list[dict[str, Any]] | dict[str, str]]
code: Var[str]
transformers: Var[list[ShikiBaseTransformers | dict[str, Any]]] = []