fix components paths
This commit is contained in:
parent
b1aff7147e
commit
b110704c41
@ -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]]] = []
|
||||
|
Loading…
Reference in New Issue
Block a user