rn-shiki 0.0.15 → 0.0.17
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +47 -5
- package/src/components/syntax/SyntaxHighlighter.tsx +3 -2
- package/src/hooks/useSyntaxHighlighter.ts +1 -15
- package/src/index.ts +1 -0
- package/src/syntax/highlighter/index.ts +2 -2
- package/src/types/shiki.d.ts +11 -4
- package/src/types/shiki.ts +17 -0
- package/src/vendor/shiki/core/core.d.ts +11 -0
- package/src/vendor/shiki/core/engine-javascript.d.ts +5 -0
- package/src/vendor/shiki/langs/abap.d.ts +4 -0
- package/src/vendor/shiki/langs/actionscript-3.d.ts +4 -0
- package/src/vendor/shiki/langs/ada.d.ts +4 -0
- package/src/vendor/shiki/langs/adoc.d.ts +4 -0
- package/src/vendor/shiki/langs/angular-expression.d.ts +4 -0
- package/src/vendor/shiki/langs/angular-html.d.ts +4 -0
- package/src/vendor/shiki/langs/angular-inline-style.d.ts +4 -0
- package/src/vendor/shiki/langs/angular-inline-template.d.ts +4 -0
- package/src/vendor/shiki/langs/angular-let-declaration.d.ts +4 -0
- package/src/vendor/shiki/langs/angular-template-blocks.d.ts +4 -0
- package/src/vendor/shiki/langs/angular-template.d.ts +4 -0
- package/src/vendor/shiki/langs/angular-ts.d.ts +4 -0
- package/src/vendor/shiki/langs/apache.d.ts +4 -0
- package/src/vendor/shiki/langs/apex.d.ts +4 -0
- package/src/vendor/shiki/langs/apl.d.ts +4 -0
- package/src/vendor/shiki/langs/applescript.d.ts +4 -0
- package/src/vendor/shiki/langs/ara.d.ts +4 -0
- package/src/vendor/shiki/langs/asciidoc.d.ts +4 -0
- package/src/vendor/shiki/langs/asm.d.ts +4 -0
- package/src/vendor/shiki/langs/astro.d.ts +4 -0
- package/src/vendor/shiki/langs/awk.d.ts +4 -0
- package/src/vendor/shiki/langs/ballerina.d.ts +4 -0
- package/src/vendor/shiki/langs/bash.d.ts +4 -0
- package/src/vendor/shiki/langs/bat.d.ts +4 -0
- package/src/vendor/shiki/langs/batch.d.ts +4 -0
- package/src/vendor/shiki/langs/be.d.ts +4 -0
- package/src/vendor/shiki/langs/beancount.d.ts +4 -0
- package/src/vendor/shiki/langs/berry.d.ts +4 -0
- package/src/vendor/shiki/langs/bibtex.d.ts +4 -0
- package/src/vendor/shiki/langs/bicep.d.ts +4 -0
- package/src/vendor/shiki/langs/blade.d.ts +4 -0
- package/src/vendor/shiki/langs/c.d.ts +4 -0
- package/src/vendor/shiki/langs/cadence.d.ts +4 -0
- package/src/vendor/shiki/langs/cdc.d.ts +4 -0
- package/src/vendor/shiki/langs/clarity.d.ts +4 -0
- package/src/vendor/shiki/langs/clj.d.ts +4 -0
- package/src/vendor/shiki/langs/clojure.d.ts +4 -0
- package/src/vendor/shiki/langs/closure-templates.d.ts +4 -0
- package/src/vendor/shiki/langs/cmake.d.ts +4 -0
- package/src/vendor/shiki/langs/cmd.d.ts +4 -0
- package/src/vendor/shiki/langs/cobol.d.ts +4 -0
- package/src/vendor/shiki/langs/codeowners.d.ts +4 -0
- package/src/vendor/shiki/langs/codeql.d.ts +4 -0
- package/src/vendor/shiki/langs/coffee.d.ts +4 -0
- package/src/vendor/shiki/langs/coffeescript.d.ts +4 -0
- package/src/vendor/shiki/langs/common-lisp.d.ts +4 -0
- package/src/vendor/shiki/langs/console.d.ts +4 -0
- package/src/vendor/shiki/langs/coq.d.ts +4 -0
- package/src/vendor/shiki/langs/cpp-macro.d.ts +4 -0
- package/src/vendor/shiki/langs/cpp.d.ts +4 -0
- package/src/vendor/shiki/langs/cql.d.ts +4 -0
- package/src/vendor/shiki/langs/crystal.d.ts +4 -0
- package/src/vendor/shiki/langs/cs.d.ts +4 -0
- package/src/vendor/shiki/langs/csharp.d.ts +4 -0
- package/src/vendor/shiki/langs/css.d.ts +4 -0
- package/src/vendor/shiki/langs/csv.d.ts +4 -0
- package/src/vendor/shiki/langs/cue.d.ts +4 -0
- package/src/vendor/shiki/langs/cypher.d.ts +4 -0
- package/src/vendor/shiki/langs/d.d.ts +4 -0
- package/src/vendor/shiki/langs/dart.d.ts +4 -0
- package/src/vendor/shiki/langs/dax.d.ts +4 -0
- package/src/vendor/shiki/langs/desktop.d.ts +4 -0
- package/src/vendor/shiki/langs/diff.d.ts +4 -0
- package/src/vendor/shiki/langs/docker.d.ts +4 -0
- package/src/vendor/shiki/langs/dockerfile.d.ts +4 -0
- package/src/vendor/shiki/langs/dotenv.d.ts +4 -0
- package/src/vendor/shiki/langs/dream-maker.d.ts +4 -0
- package/src/vendor/shiki/langs/edge.d.ts +4 -0
- package/src/vendor/shiki/langs/elisp.d.ts +4 -0
- package/src/vendor/shiki/langs/elixir.d.ts +4 -0
- package/src/vendor/shiki/langs/elm.d.ts +4 -0
- package/src/vendor/shiki/langs/emacs-lisp.d.ts +4 -0
- package/src/vendor/shiki/langs/erb.d.ts +4 -0
- package/src/vendor/shiki/langs/erl.d.ts +4 -0
- package/src/vendor/shiki/langs/erlang.d.ts +4 -0
- package/src/vendor/shiki/langs/es-tag-css.d.ts +4 -0
- package/src/vendor/shiki/langs/es-tag-glsl.d.ts +4 -0
- package/src/vendor/shiki/langs/es-tag-html.d.ts +4 -0
- package/src/vendor/shiki/langs/es-tag-sql.d.ts +4 -0
- package/src/vendor/shiki/langs/es-tag-xml.d.ts +4 -0
- package/src/vendor/shiki/langs/f.d.ts +4 -0
- package/src/vendor/shiki/langs/f03.d.ts +4 -0
- package/src/vendor/shiki/langs/f08.d.ts +4 -0
- package/src/vendor/shiki/langs/f18.d.ts +4 -0
- package/src/vendor/shiki/langs/f77.d.ts +4 -0
- package/src/vendor/shiki/langs/f90.d.ts +4 -0
- package/src/vendor/shiki/langs/f95.d.ts +4 -0
- package/src/vendor/shiki/langs/fennel.d.ts +4 -0
- package/src/vendor/shiki/langs/fish.d.ts +4 -0
- package/src/vendor/shiki/langs/fluent.d.ts +4 -0
- package/src/vendor/shiki/langs/for.d.ts +4 -0
- package/src/vendor/shiki/langs/fortran-fixed-form.d.ts +4 -0
- package/src/vendor/shiki/langs/fortran-free-form.d.ts +4 -0
- package/src/vendor/shiki/langs/fs.d.ts +4 -0
- package/src/vendor/shiki/langs/fsharp.d.ts +4 -0
- package/src/vendor/shiki/langs/fsl.d.ts +4 -0
- package/src/vendor/shiki/langs/ftl.d.ts +4 -0
- package/src/vendor/shiki/langs/gdresource.d.ts +4 -0
- package/src/vendor/shiki/langs/gdscript.d.ts +4 -0
- package/src/vendor/shiki/langs/gdshader.d.ts +4 -0
- package/src/vendor/shiki/langs/genie.d.ts +4 -0
- package/src/vendor/shiki/langs/gherkin.d.ts +4 -0
- package/src/vendor/shiki/langs/git-commit.d.ts +4 -0
- package/src/vendor/shiki/langs/git-rebase.d.ts +4 -0
- package/src/vendor/shiki/langs/gjs.d.ts +4 -0
- package/src/vendor/shiki/langs/gleam.d.ts +4 -0
- package/src/vendor/shiki/langs/glimmer-js.d.ts +4 -0
- package/src/vendor/shiki/langs/glimmer-ts.d.ts +4 -0
- package/src/vendor/shiki/langs/glsl.d.ts +4 -0
- package/src/vendor/shiki/langs/gnuplot.d.ts +4 -0
- package/src/vendor/shiki/langs/go.d.ts +4 -0
- package/src/vendor/shiki/langs/gql.d.ts +4 -0
- package/src/vendor/shiki/langs/graphql.d.ts +4 -0
- package/src/vendor/shiki/langs/groovy.d.ts +4 -0
- package/src/vendor/shiki/langs/gts.d.ts +4 -0
- package/src/vendor/shiki/langs/hack.d.ts +4 -0
- package/src/vendor/shiki/langs/haml.d.ts +4 -0
- package/src/vendor/shiki/langs/handlebars.d.ts +4 -0
- package/src/vendor/shiki/langs/haskell.d.ts +4 -0
- package/src/vendor/shiki/langs/haxe.d.ts +4 -0
- package/src/vendor/shiki/langs/hbs.d.ts +4 -0
- package/src/vendor/shiki/langs/hcl.d.ts +4 -0
- package/src/vendor/shiki/langs/hjson.d.ts +4 -0
- package/src/vendor/shiki/langs/hlsl.d.ts +4 -0
- package/src/vendor/shiki/langs/hs.d.ts +4 -0
- package/src/vendor/shiki/langs/html-derivative.d.ts +4 -0
- package/src/vendor/shiki/langs/html.d.ts +4 -0
- package/src/vendor/shiki/langs/http.d.ts +4 -0
- package/src/vendor/shiki/langs/hxml.d.ts +4 -0
- package/src/vendor/shiki/langs/hy.d.ts +4 -0
- package/src/vendor/shiki/langs/imba.d.ts +4 -0
- package/src/vendor/shiki/langs/ini.d.ts +4 -0
- package/src/vendor/shiki/langs/jade.d.ts +4 -0
- package/src/vendor/shiki/langs/java.d.ts +4 -0
- package/src/vendor/shiki/langs/javascript.d.ts +4 -0
- package/src/vendor/shiki/langs/jinja-html.d.ts +4 -0
- package/src/vendor/shiki/langs/jinja.d.ts +4 -0
- package/src/vendor/shiki/langs/jison.d.ts +4 -0
- package/src/vendor/shiki/langs/jl.d.ts +4 -0
- package/src/vendor/shiki/langs/js.d.ts +4 -0
- package/src/vendor/shiki/langs/json.d.ts +4 -0
- package/src/vendor/shiki/langs/json5.d.ts +4 -0
- package/src/vendor/shiki/langs/jsonc.d.ts +4 -0
- package/src/vendor/shiki/langs/jsonl.d.ts +4 -0
- package/src/vendor/shiki/langs/jsonnet.d.ts +4 -0
- package/src/vendor/shiki/langs/jssm.d.ts +4 -0
- package/src/vendor/shiki/langs/jsx.d.ts +4 -0
- package/src/vendor/shiki/langs/julia.d.ts +4 -0
- package/src/vendor/shiki/langs/kotlin.d.ts +4 -0
- package/src/vendor/shiki/langs/kql.d.ts +4 -0
- package/src/vendor/shiki/langs/kt.d.ts +4 -0
- package/src/vendor/shiki/langs/kts.d.ts +4 -0
- package/src/vendor/shiki/langs/kusto.d.ts +4 -0
- package/src/vendor/shiki/langs/latex.d.ts +4 -0
- package/src/vendor/shiki/langs/lean.d.ts +4 -0
- package/src/vendor/shiki/langs/lean4.d.ts +4 -0
- package/src/vendor/shiki/langs/less.d.ts +4 -0
- package/src/vendor/shiki/langs/liquid.d.ts +4 -0
- package/src/vendor/shiki/langs/lisp.d.ts +4 -0
- package/src/vendor/shiki/langs/lit.d.ts +4 -0
- package/src/vendor/shiki/langs/log.d.ts +4 -0
- package/src/vendor/shiki/langs/logo.d.ts +4 -0
- package/src/vendor/shiki/langs/lua.d.ts +4 -0
- package/src/vendor/shiki/langs/luau.d.ts +4 -0
- package/src/vendor/shiki/langs/make.d.ts +4 -0
- package/src/vendor/shiki/langs/makefile.d.ts +4 -0
- package/src/vendor/shiki/langs/markdown-vue.d.ts +4 -0
- package/src/vendor/shiki/langs/markdown.d.ts +4 -0
- package/src/vendor/shiki/langs/marko.d.ts +4 -0
- package/src/vendor/shiki/langs/matlab.d.ts +4 -0
- package/src/vendor/shiki/langs/md.d.ts +4 -0
- package/src/vendor/shiki/langs/mdc.d.ts +4 -0
- package/src/vendor/shiki/langs/mdx.d.ts +4 -0
- package/src/vendor/shiki/langs/mediawiki.d.ts +4 -0
- package/src/vendor/shiki/langs/mermaid.d.ts +4 -0
- package/src/vendor/shiki/langs/mips.d.ts +4 -0
- package/src/vendor/shiki/langs/mipsasm.d.ts +4 -0
- package/src/vendor/shiki/langs/mmd.d.ts +4 -0
- package/src/vendor/shiki/langs/mojo.d.ts +4 -0
- package/src/vendor/shiki/langs/move.d.ts +4 -0
- package/src/vendor/shiki/langs/nar.d.ts +4 -0
- package/src/vendor/shiki/langs/narrat.d.ts +4 -0
- package/src/vendor/shiki/langs/nextflow.d.ts +4 -0
- package/src/vendor/shiki/langs/nf.d.ts +4 -0
- package/src/vendor/shiki/langs/nginx.d.ts +4 -0
- package/src/vendor/shiki/langs/nim.d.ts +4 -0
- package/src/vendor/shiki/langs/nix.d.ts +4 -0
- package/src/vendor/shiki/langs/nu.d.ts +4 -0
- package/src/vendor/shiki/langs/nushell.d.ts +4 -0
- package/src/vendor/shiki/langs/objc.d.ts +4 -0
- package/src/vendor/shiki/langs/objective-c.d.ts +4 -0
- package/src/vendor/shiki/langs/objective-cpp.d.ts +4 -0
- package/src/vendor/shiki/langs/ocaml.d.ts +4 -0
- package/src/vendor/shiki/langs/pascal.d.ts +4 -0
- package/src/vendor/shiki/langs/perl.d.ts +4 -0
- package/src/vendor/shiki/langs/perl6.d.ts +4 -0
- package/src/vendor/shiki/langs/php.d.ts +4 -0
- package/src/vendor/shiki/langs/plsql.d.ts +4 -0
- package/src/vendor/shiki/langs/po.d.ts +4 -0
- package/src/vendor/shiki/langs/postcss.d.ts +4 -0
- package/src/vendor/shiki/langs/pot.d.ts +4 -0
- package/src/vendor/shiki/langs/potx.d.ts +4 -0
- package/src/vendor/shiki/langs/powerquery.d.ts +4 -0
- package/src/vendor/shiki/langs/powershell.d.ts +4 -0
- package/src/vendor/shiki/langs/prisma.d.ts +4 -0
- package/src/vendor/shiki/langs/prolog.d.ts +4 -0
- package/src/vendor/shiki/langs/properties.d.ts +4 -0
- package/src/vendor/shiki/langs/proto.d.ts +4 -0
- package/src/vendor/shiki/langs/protobuf.d.ts +4 -0
- package/src/vendor/shiki/langs/ps.d.ts +4 -0
- package/src/vendor/shiki/langs/ps1.d.ts +4 -0
- package/src/vendor/shiki/langs/pug.d.ts +4 -0
- package/src/vendor/shiki/langs/puppet.d.ts +4 -0
- package/src/vendor/shiki/langs/purescript.d.ts +4 -0
- package/src/vendor/shiki/langs/py.d.ts +4 -0
- package/src/vendor/shiki/langs/python.d.ts +4 -0
- package/src/vendor/shiki/langs/ql.d.ts +4 -0
- package/src/vendor/shiki/langs/qml.d.ts +4 -0
- package/src/vendor/shiki/langs/qmldir.d.ts +4 -0
- package/src/vendor/shiki/langs/qss.d.ts +4 -0
- package/src/vendor/shiki/langs/r.d.ts +4 -0
- package/src/vendor/shiki/langs/racket.d.ts +4 -0
- package/src/vendor/shiki/langs/raku.d.ts +4 -0
- package/src/vendor/shiki/langs/razor.d.ts +4 -0
- package/src/vendor/shiki/langs/rb.d.ts +4 -0
- package/src/vendor/shiki/langs/reg.d.ts +4 -0
- package/src/vendor/shiki/langs/regex.d.ts +4 -0
- package/src/vendor/shiki/langs/regexp.d.ts +4 -0
- package/src/vendor/shiki/langs/rel.d.ts +4 -0
- package/src/vendor/shiki/langs/riscv.d.ts +4 -0
- package/src/vendor/shiki/langs/rs.d.ts +4 -0
- package/src/vendor/shiki/langs/rst.d.ts +4 -0
- package/src/vendor/shiki/langs/ruby.d.ts +4 -0
- package/src/vendor/shiki/langs/rust.d.ts +4 -0
- package/src/vendor/shiki/langs/sas.d.ts +4 -0
- package/src/vendor/shiki/langs/sass.d.ts +4 -0
- package/src/vendor/shiki/langs/scala.d.ts +4 -0
- package/src/vendor/shiki/langs/scheme.d.ts +4 -0
- package/src/vendor/shiki/langs/scss.d.ts +4 -0
- package/src/vendor/shiki/langs/sh.d.ts +4 -0
- package/src/vendor/shiki/langs/shader.d.ts +4 -0
- package/src/vendor/shiki/langs/shaderlab.d.ts +4 -0
- package/src/vendor/shiki/langs/shell.d.ts +4 -0
- package/src/vendor/shiki/langs/shellscript.d.ts +4 -0
- package/src/vendor/shiki/langs/shellsession.d.ts +4 -0
- package/src/vendor/shiki/langs/smalltalk.d.ts +4 -0
- package/src/vendor/shiki/langs/solidity.d.ts +4 -0
- package/src/vendor/shiki/langs/soy.d.ts +4 -0
- package/src/vendor/shiki/langs/sparql.d.ts +4 -0
- package/src/vendor/shiki/langs/spl.d.ts +4 -0
- package/src/vendor/shiki/langs/splunk.d.ts +4 -0
- package/src/vendor/shiki/langs/sql.d.ts +4 -0
- package/src/vendor/shiki/langs/ssh-config.d.ts +4 -0
- package/src/vendor/shiki/langs/stata.d.ts +4 -0
- package/src/vendor/shiki/langs/styl.d.ts +4 -0
- package/src/vendor/shiki/langs/stylus.d.ts +4 -0
- package/src/vendor/shiki/langs/svelte.d.ts +4 -0
- package/src/vendor/shiki/langs/swift.d.ts +4 -0
- package/src/vendor/shiki/langs/system-verilog.d.ts +4 -0
- package/src/vendor/shiki/langs/systemd.d.ts +4 -0
- package/src/vendor/shiki/langs/tasl.d.ts +4 -0
- package/src/vendor/shiki/langs/tcl.d.ts +4 -0
- package/src/vendor/shiki/langs/templ.d.ts +4 -0
- package/src/vendor/shiki/langs/terraform.d.ts +4 -0
- package/src/vendor/shiki/langs/tex.d.ts +4 -0
- package/src/vendor/shiki/langs/tf.d.ts +4 -0
- package/src/vendor/shiki/langs/tfvars.d.ts +4 -0
- package/src/vendor/shiki/langs/toml.d.ts +4 -0
- package/src/vendor/shiki/langs/ts-tags.d.ts +4 -0
- package/src/vendor/shiki/langs/ts.d.ts +4 -0
- package/src/vendor/shiki/langs/tsp.d.ts +4 -0
- package/src/vendor/shiki/langs/tsv.d.ts +4 -0
- package/src/vendor/shiki/langs/tsx.d.ts +4 -0
- package/src/vendor/shiki/langs/turtle.d.ts +4 -0
- package/src/vendor/shiki/langs/twig.d.ts +4 -0
- package/src/vendor/shiki/langs/typ.d.ts +4 -0
- package/src/vendor/shiki/langs/typescript.d.ts +4 -0
- package/src/vendor/shiki/langs/typespec.d.ts +4 -0
- package/src/vendor/shiki/langs/typst.d.ts +4 -0
- package/src/vendor/shiki/langs/v.d.ts +4 -0
- package/src/vendor/shiki/langs/vala.d.ts +4 -0
- package/src/vendor/shiki/langs/vb.d.ts +4 -0
- package/src/vendor/shiki/langs/verilog.d.ts +4 -0
- package/src/vendor/shiki/langs/vhdl.d.ts +4 -0
- package/src/vendor/shiki/langs/vim.d.ts +4 -0
- package/src/vendor/shiki/langs/viml.d.ts +4 -0
- package/src/vendor/shiki/langs/vimscript.d.ts +4 -0
- package/src/vendor/shiki/langs/vue-directives.d.ts +4 -0
- package/src/vendor/shiki/langs/vue-html.d.ts +4 -0
- package/src/vendor/shiki/langs/vue-interpolations.d.ts +4 -0
- package/src/vendor/shiki/langs/vue-sfc-style-variable-injection.d.ts +4 -0
- package/src/vendor/shiki/langs/vue.d.ts +4 -0
- package/src/vendor/shiki/langs/vy.d.ts +4 -0
- package/src/vendor/shiki/langs/vyper.d.ts +4 -0
- package/src/vendor/shiki/langs/wasm.d.ts +4 -0
- package/src/vendor/shiki/langs/wenyan.d.ts +4 -0
- package/src/vendor/shiki/langs/wgsl.d.ts +4 -0
- package/src/vendor/shiki/langs/wiki.d.ts +4 -0
- package/src/vendor/shiki/langs/wikitext.d.ts +4 -0
- package/src/vendor/shiki/langs/wl.d.ts +4 -0
- package/src/vendor/shiki/langs/wolfram.d.ts +4 -0
- package/src/vendor/shiki/langs/xml.d.ts +4 -0
- package/src/vendor/shiki/langs/xsl.d.ts +4 -0
- package/src/vendor/shiki/langs/yaml.d.ts +4 -0
- package/src/vendor/shiki/langs/yml.d.ts +4 -0
- package/src/vendor/shiki/langs/zenscript.d.ts +4 -0
- package/src/vendor/shiki/langs/zig.d.ts +4 -0
- package/src/vendor/shiki/langs/zsh.d.ts +4 -0
- package/src/vendor/shiki/manifest.json +1468 -0
- package/src/vendor/shiki/themes/andromeeda.d.ts +4 -0
- package/src/vendor/shiki/themes/aurora-x.d.ts +4 -0
- package/src/vendor/shiki/themes/ayu-dark.d.ts +4 -0
- package/src/vendor/shiki/themes/catppuccin-frappe.d.ts +4 -0
- package/src/vendor/shiki/themes/catppuccin-latte.d.ts +4 -0
- package/src/vendor/shiki/themes/catppuccin-macchiato.d.ts +4 -0
- package/src/vendor/shiki/themes/catppuccin-mocha.d.ts +4 -0
- package/src/vendor/shiki/themes/dark-plus.d.ts +4 -0
- package/src/vendor/shiki/themes/dracula-soft.d.ts +4 -0
- package/src/vendor/shiki/themes/dracula.d.ts +4 -0
- package/src/vendor/shiki/themes/everforest-dark.d.ts +4 -0
- package/src/vendor/shiki/themes/everforest-light.d.ts +4 -0
- package/src/vendor/shiki/themes/github-dark-default.d.ts +4 -0
- package/src/vendor/shiki/themes/github-dark-dimmed.d.ts +4 -0
- package/src/vendor/shiki/themes/github-dark-high-contrast.d.ts +4 -0
- package/src/vendor/shiki/themes/github-dark.d.ts +4 -0
- package/src/vendor/shiki/themes/github-light-default.d.ts +4 -0
- package/src/vendor/shiki/themes/github-light-high-contrast.d.ts +4 -0
- package/src/vendor/shiki/themes/github-light.d.ts +4 -0
- package/src/vendor/shiki/themes/houston.d.ts +4 -0
- package/src/vendor/shiki/themes/kanagawa-dragon.d.ts +4 -0
- package/src/vendor/shiki/themes/kanagawa-lotus.d.ts +4 -0
- package/src/vendor/shiki/themes/kanagawa-wave.d.ts +4 -0
- package/src/vendor/shiki/themes/laserwave.d.ts +4 -0
- package/src/vendor/shiki/themes/light-plus.d.ts +4 -0
- package/src/vendor/shiki/themes/material-theme-darker.d.ts +4 -0
- package/src/vendor/shiki/themes/material-theme-lighter.d.ts +4 -0
- package/src/vendor/shiki/themes/material-theme-ocean.d.ts +4 -0
- package/src/vendor/shiki/themes/material-theme-palenight.d.ts +4 -0
- package/src/vendor/shiki/themes/material-theme.d.ts +4 -0
- package/src/vendor/shiki/themes/min-dark.d.ts +4 -0
- package/src/vendor/shiki/themes/min-light.d.ts +4 -0
- package/src/vendor/shiki/themes/monokai.d.ts +4 -0
- package/src/vendor/shiki/themes/night-owl.d.ts +4 -0
- package/src/vendor/shiki/themes/nord.d.ts +4 -0
- package/src/vendor/shiki/themes/one-dark-pro.d.ts +4 -0
- package/src/vendor/shiki/themes/one-light.d.ts +4 -0
- package/src/vendor/shiki/themes/plastic.d.ts +4 -0
- package/src/vendor/shiki/themes/poimandres.d.ts +4 -0
- package/src/vendor/shiki/themes/red.d.ts +4 -0
- package/src/vendor/shiki/themes/rose-pine-dawn.d.ts +4 -0
- package/src/vendor/shiki/themes/rose-pine-moon.d.ts +4 -0
- package/src/vendor/shiki/themes/rose-pine.d.ts +4 -0
- package/src/vendor/shiki/themes/slack-dark.d.ts +4 -0
- package/src/vendor/shiki/themes/slack-ochin.d.ts +4 -0
- package/src/vendor/shiki/themes/snazzy-light.d.ts +4 -0
- package/src/vendor/shiki/themes/solarized-dark.d.ts +4 -0
- package/src/vendor/shiki/themes/solarized-light.d.ts +4 -0
- package/src/vendor/shiki/themes/tokyo-night.d.ts +4 -0
- package/src/vendor/shiki/themes/vesper.d.ts +4 -0
- package/src/vendor/shiki/themes/vitesse-black.d.ts +4 -0
- package/src/vendor/shiki/themes/vitesse-dark.d.ts +4 -0
- package/src/vendor/shiki/themes/vitesse-light.d.ts +4 -0
- package/eslint.config.mjs +0 -6
- package/lib/commonjs/components/syntax/SyntaxHighlighter.js +0 -79
- package/lib/commonjs/components/syntax/SyntaxHighlighter.js.map +0 -1
- package/lib/commonjs/components/syntax/SyntaxLine.js +0 -36
- package/lib/commonjs/components/syntax/SyntaxLine.js.map +0 -1
- package/lib/commonjs/components/syntax/index.js +0 -21
- package/lib/commonjs/components/syntax/index.js.map +0 -1
- package/lib/commonjs/hooks/useSyntaxHighlighter.js +0 -64
- package/lib/commonjs/hooks/useSyntaxHighlighter.js.map +0 -1
- package/lib/commonjs/index.js +0 -19
- package/lib/commonjs/index.js.map +0 -1
- package/lib/commonjs/package.json +0 -1
- package/lib/commonjs/syntax/highlighter/index.js +0 -40
- package/lib/commonjs/syntax/highlighter/index.js.map +0 -1
- package/lib/commonjs/syntax/index.js +0 -19
- package/lib/commonjs/syntax/index.js.map +0 -1
- package/lib/commonjs/types/index.js +0 -2
- package/lib/commonjs/types/index.js.map +0 -1
- package/lib/commonjs/types/shiki.d.js +0 -2
- package/lib/commonjs/types/shiki.d.js.map +0 -1
- package/lib/commonjs/utils/index.js +0 -17
- package/lib/commonjs/utils/index.js.map +0 -1
- package/lib/commonjs/utils/string.js +0 -28
- package/lib/commonjs/utils/string.js.map +0 -1
- package/lib/module/components/syntax/SyntaxHighlighter.js +0 -74
- package/lib/module/components/syntax/SyntaxHighlighter.js.map +0 -1
- package/lib/module/components/syntax/SyntaxLine.js +0 -31
- package/lib/module/components/syntax/SyntaxLine.js.map +0 -1
- package/lib/module/components/syntax/index.js +0 -5
- package/lib/module/components/syntax/index.js.map +0 -1
- package/lib/module/hooks/useSyntaxHighlighter.js +0 -60
- package/lib/module/hooks/useSyntaxHighlighter.js.map +0 -1
- package/lib/module/index.js +0 -4
- package/lib/module/index.js.map +0 -1
- package/lib/module/package.json +0 -1
- package/lib/module/syntax/highlighter/index.js +0 -35
- package/lib/module/syntax/highlighter/index.js.map +0 -1
- package/lib/module/syntax/index.js +0 -4
- package/lib/module/syntax/index.js.map +0 -1
- package/lib/module/types/index.js +0 -2
- package/lib/module/types/index.js.map +0 -1
- package/lib/module/types/shiki.d.js +0 -2
- package/lib/module/types/shiki.d.js.map +0 -1
- package/lib/module/utils/index.js +0 -4
- package/lib/module/utils/index.js.map +0 -1
- package/lib/module/utils/string.js +0 -22
- package/lib/module/utils/string.js.map +0 -1
- package/lib/typescript/components/syntax/SyntaxHighlighter.d.ts +0 -13
- package/lib/typescript/components/syntax/SyntaxHighlighter.d.ts.map +0 -1
- package/lib/typescript/components/syntax/SyntaxLine.d.ts +0 -9
- package/lib/typescript/components/syntax/SyntaxLine.d.ts.map +0 -1
- package/lib/typescript/components/syntax/index.d.ts +0 -3
- package/lib/typescript/components/syntax/index.d.ts.map +0 -1
- package/lib/typescript/hooks/useSyntaxHighlighter.d.ts +0 -15
- package/lib/typescript/hooks/useSyntaxHighlighter.d.ts.map +0 -1
- package/lib/typescript/index.d.ts +0 -2
- package/lib/typescript/index.d.ts.map +0 -1
- package/lib/typescript/syntax/highlighter/index.d.ts +0 -9
- package/lib/typescript/syntax/highlighter/index.d.ts.map +0 -1
- package/lib/typescript/syntax/index.d.ts +0 -2
- package/lib/typescript/syntax/index.d.ts.map +0 -1
- package/lib/typescript/types/index.d.ts +0 -7
- package/lib/typescript/types/index.d.ts.map +0 -1
- package/lib/typescript/utils/index.d.ts +0 -2
- package/lib/typescript/utils/index.d.ts.map +0 -1
- package/lib/typescript/utils/string.d.ts +0 -5
- package/lib/typescript/utils/string.d.ts.map +0 -1
- package/scripts/build.js +0 -173
- package/tsconfig.json +0 -30
- package/vendor/shiki/langs/abap.d.ts +0 -4
- package/vendor/shiki/langs/actionscript-3.d.ts +0 -4
- package/vendor/shiki/langs/ada.d.ts +0 -4
- package/vendor/shiki/langs/adoc.d.ts +0 -4
- package/vendor/shiki/langs/angular-expression.d.ts +0 -4
- package/vendor/shiki/langs/angular-html.d.ts +0 -4
- package/vendor/shiki/langs/angular-inline-style.d.ts +0 -4
- package/vendor/shiki/langs/angular-inline-template.d.ts +0 -4
- package/vendor/shiki/langs/angular-let-declaration.d.ts +0 -4
- package/vendor/shiki/langs/angular-template-blocks.d.ts +0 -4
- package/vendor/shiki/langs/angular-template.d.ts +0 -4
- package/vendor/shiki/langs/angular-ts.d.ts +0 -4
- package/vendor/shiki/langs/apache.d.ts +0 -4
- package/vendor/shiki/langs/apex.d.ts +0 -4
- package/vendor/shiki/langs/apl.d.ts +0 -4
- package/vendor/shiki/langs/applescript.d.ts +0 -4
- package/vendor/shiki/langs/ara.d.ts +0 -4
- package/vendor/shiki/langs/asciidoc.d.ts +0 -4
- package/vendor/shiki/langs/asm.d.ts +0 -4
- package/vendor/shiki/langs/astro.d.ts +0 -4
- package/vendor/shiki/langs/awk.d.ts +0 -4
- package/vendor/shiki/langs/ballerina.d.ts +0 -4
- package/vendor/shiki/langs/bash.d.ts +0 -4
- package/vendor/shiki/langs/bat.d.ts +0 -4
- package/vendor/shiki/langs/batch.d.ts +0 -4
- package/vendor/shiki/langs/be.d.ts +0 -4
- package/vendor/shiki/langs/beancount.d.ts +0 -4
- package/vendor/shiki/langs/berry.d.ts +0 -4
- package/vendor/shiki/langs/bibtex.d.ts +0 -4
- package/vendor/shiki/langs/bicep.d.ts +0 -4
- package/vendor/shiki/langs/blade.d.ts +0 -4
- package/vendor/shiki/langs/c.d.ts +0 -4
- package/vendor/shiki/langs/cadence.d.ts +0 -4
- package/vendor/shiki/langs/cdc.d.ts +0 -4
- package/vendor/shiki/langs/clarity.d.ts +0 -4
- package/vendor/shiki/langs/clj.d.ts +0 -4
- package/vendor/shiki/langs/clojure.d.ts +0 -4
- package/vendor/shiki/langs/closure-templates.d.ts +0 -4
- package/vendor/shiki/langs/cmake.d.ts +0 -4
- package/vendor/shiki/langs/cmd.d.ts +0 -4
- package/vendor/shiki/langs/cobol.d.ts +0 -4
- package/vendor/shiki/langs/codeowners.d.ts +0 -4
- package/vendor/shiki/langs/codeql.d.ts +0 -4
- package/vendor/shiki/langs/coffee.d.ts +0 -4
- package/vendor/shiki/langs/coffeescript.d.ts +0 -4
- package/vendor/shiki/langs/common-lisp.d.ts +0 -4
- package/vendor/shiki/langs/console.d.ts +0 -4
- package/vendor/shiki/langs/coq.d.ts +0 -4
- package/vendor/shiki/langs/cpp-macro.d.ts +0 -4
- package/vendor/shiki/langs/cpp.d.ts +0 -4
- package/vendor/shiki/langs/cql.d.ts +0 -4
- package/vendor/shiki/langs/crystal.d.ts +0 -4
- package/vendor/shiki/langs/cs.d.ts +0 -4
- package/vendor/shiki/langs/csharp.d.ts +0 -4
- package/vendor/shiki/langs/css.d.ts +0 -4
- package/vendor/shiki/langs/csv.d.ts +0 -4
- package/vendor/shiki/langs/cue.d.ts +0 -4
- package/vendor/shiki/langs/cypher.d.ts +0 -4
- package/vendor/shiki/langs/d.d.ts +0 -4
- package/vendor/shiki/langs/dart.d.ts +0 -4
- package/vendor/shiki/langs/dax.d.ts +0 -4
- package/vendor/shiki/langs/desktop.d.ts +0 -4
- package/vendor/shiki/langs/diff.d.ts +0 -4
- package/vendor/shiki/langs/docker.d.ts +0 -4
- package/vendor/shiki/langs/dockerfile.d.ts +0 -4
- package/vendor/shiki/langs/dotenv.d.ts +0 -4
- package/vendor/shiki/langs/dream-maker.d.ts +0 -4
- package/vendor/shiki/langs/edge.d.ts +0 -4
- package/vendor/shiki/langs/elisp.d.ts +0 -4
- package/vendor/shiki/langs/elixir.d.ts +0 -4
- package/vendor/shiki/langs/elm.d.ts +0 -4
- package/vendor/shiki/langs/emacs-lisp.d.ts +0 -4
- package/vendor/shiki/langs/erb.d.ts +0 -4
- package/vendor/shiki/langs/erl.d.ts +0 -4
- package/vendor/shiki/langs/erlang.d.ts +0 -4
- package/vendor/shiki/langs/es-tag-css.d.ts +0 -4
- package/vendor/shiki/langs/es-tag-glsl.d.ts +0 -4
- package/vendor/shiki/langs/es-tag-html.d.ts +0 -4
- package/vendor/shiki/langs/es-tag-sql.d.ts +0 -4
- package/vendor/shiki/langs/es-tag-xml.d.ts +0 -4
- package/vendor/shiki/langs/f.d.ts +0 -4
- package/vendor/shiki/langs/f03.d.ts +0 -4
- package/vendor/shiki/langs/f08.d.ts +0 -4
- package/vendor/shiki/langs/f18.d.ts +0 -4
- package/vendor/shiki/langs/f77.d.ts +0 -4
- package/vendor/shiki/langs/f90.d.ts +0 -4
- package/vendor/shiki/langs/f95.d.ts +0 -4
- package/vendor/shiki/langs/fennel.d.ts +0 -4
- package/vendor/shiki/langs/fish.d.ts +0 -4
- package/vendor/shiki/langs/fluent.d.ts +0 -4
- package/vendor/shiki/langs/for.d.ts +0 -4
- package/vendor/shiki/langs/fortran-fixed-form.d.ts +0 -4
- package/vendor/shiki/langs/fortran-free-form.d.ts +0 -4
- package/vendor/shiki/langs/fs.d.ts +0 -4
- package/vendor/shiki/langs/fsharp.d.ts +0 -4
- package/vendor/shiki/langs/fsl.d.ts +0 -4
- package/vendor/shiki/langs/ftl.d.ts +0 -4
- package/vendor/shiki/langs/gdresource.d.ts +0 -4
- package/vendor/shiki/langs/gdscript.d.ts +0 -4
- package/vendor/shiki/langs/gdshader.d.ts +0 -4
- package/vendor/shiki/langs/genie.d.ts +0 -4
- package/vendor/shiki/langs/gherkin.d.ts +0 -4
- package/vendor/shiki/langs/git-commit.d.ts +0 -4
- package/vendor/shiki/langs/git-rebase.d.ts +0 -4
- package/vendor/shiki/langs/gjs.d.ts +0 -4
- package/vendor/shiki/langs/gleam.d.ts +0 -4
- package/vendor/shiki/langs/glimmer-js.d.ts +0 -4
- package/vendor/shiki/langs/glimmer-ts.d.ts +0 -4
- package/vendor/shiki/langs/glsl.d.ts +0 -4
- package/vendor/shiki/langs/gnuplot.d.ts +0 -4
- package/vendor/shiki/langs/go.d.ts +0 -4
- package/vendor/shiki/langs/gql.d.ts +0 -4
- package/vendor/shiki/langs/graphql.d.ts +0 -4
- package/vendor/shiki/langs/groovy.d.ts +0 -4
- package/vendor/shiki/langs/gts.d.ts +0 -4
- package/vendor/shiki/langs/hack.d.ts +0 -4
- package/vendor/shiki/langs/haml.d.ts +0 -4
- package/vendor/shiki/langs/handlebars.d.ts +0 -4
- package/vendor/shiki/langs/haskell.d.ts +0 -4
- package/vendor/shiki/langs/haxe.d.ts +0 -4
- package/vendor/shiki/langs/hbs.d.ts +0 -4
- package/vendor/shiki/langs/hcl.d.ts +0 -4
- package/vendor/shiki/langs/hjson.d.ts +0 -4
- package/vendor/shiki/langs/hlsl.d.ts +0 -4
- package/vendor/shiki/langs/hs.d.ts +0 -4
- package/vendor/shiki/langs/html-derivative.d.ts +0 -4
- package/vendor/shiki/langs/html.d.ts +0 -4
- package/vendor/shiki/langs/http.d.ts +0 -4
- package/vendor/shiki/langs/hxml.d.ts +0 -4
- package/vendor/shiki/langs/hy.d.ts +0 -4
- package/vendor/shiki/langs/imba.d.ts +0 -4
- package/vendor/shiki/langs/ini.d.ts +0 -4
- package/vendor/shiki/langs/jade.d.ts +0 -4
- package/vendor/shiki/langs/java.d.ts +0 -4
- package/vendor/shiki/langs/javascript.d.ts +0 -4
- package/vendor/shiki/langs/jinja-html.d.ts +0 -4
- package/vendor/shiki/langs/jinja.d.ts +0 -4
- package/vendor/shiki/langs/jison.d.ts +0 -4
- package/vendor/shiki/langs/jl.d.ts +0 -4
- package/vendor/shiki/langs/js.d.ts +0 -4
- package/vendor/shiki/langs/json.d.ts +0 -4
- package/vendor/shiki/langs/json5.d.ts +0 -4
- package/vendor/shiki/langs/jsonc.d.ts +0 -4
- package/vendor/shiki/langs/jsonl.d.ts +0 -4
- package/vendor/shiki/langs/jsonnet.d.ts +0 -4
- package/vendor/shiki/langs/jssm.d.ts +0 -4
- package/vendor/shiki/langs/jsx.d.ts +0 -4
- package/vendor/shiki/langs/julia.d.ts +0 -4
- package/vendor/shiki/langs/kotlin.d.ts +0 -4
- package/vendor/shiki/langs/kql.d.ts +0 -4
- package/vendor/shiki/langs/kt.d.ts +0 -4
- package/vendor/shiki/langs/kts.d.ts +0 -4
- package/vendor/shiki/langs/kusto.d.ts +0 -4
- package/vendor/shiki/langs/latex.d.ts +0 -4
- package/vendor/shiki/langs/lean.d.ts +0 -4
- package/vendor/shiki/langs/lean4.d.ts +0 -4
- package/vendor/shiki/langs/less.d.ts +0 -4
- package/vendor/shiki/langs/liquid.d.ts +0 -4
- package/vendor/shiki/langs/lisp.d.ts +0 -4
- package/vendor/shiki/langs/lit.d.ts +0 -4
- package/vendor/shiki/langs/log.d.ts +0 -4
- package/vendor/shiki/langs/logo.d.ts +0 -4
- package/vendor/shiki/langs/lua.d.ts +0 -4
- package/vendor/shiki/langs/luau.d.ts +0 -4
- package/vendor/shiki/langs/make.d.ts +0 -4
- package/vendor/shiki/langs/makefile.d.ts +0 -4
- package/vendor/shiki/langs/markdown-vue.d.ts +0 -4
- package/vendor/shiki/langs/markdown.d.ts +0 -4
- package/vendor/shiki/langs/marko.d.ts +0 -4
- package/vendor/shiki/langs/matlab.d.ts +0 -4
- package/vendor/shiki/langs/md.d.ts +0 -4
- package/vendor/shiki/langs/mdc.d.ts +0 -4
- package/vendor/shiki/langs/mdx.d.ts +0 -4
- package/vendor/shiki/langs/mediawiki.d.ts +0 -4
- package/vendor/shiki/langs/mermaid.d.ts +0 -4
- package/vendor/shiki/langs/mips.d.ts +0 -4
- package/vendor/shiki/langs/mipsasm.d.ts +0 -4
- package/vendor/shiki/langs/mmd.d.ts +0 -4
- package/vendor/shiki/langs/mojo.d.ts +0 -4
- package/vendor/shiki/langs/move.d.ts +0 -4
- package/vendor/shiki/langs/nar.d.ts +0 -4
- package/vendor/shiki/langs/narrat.d.ts +0 -4
- package/vendor/shiki/langs/nextflow.d.ts +0 -4
- package/vendor/shiki/langs/nf.d.ts +0 -4
- package/vendor/shiki/langs/nginx.d.ts +0 -4
- package/vendor/shiki/langs/nim.d.ts +0 -4
- package/vendor/shiki/langs/nix.d.ts +0 -4
- package/vendor/shiki/langs/nu.d.ts +0 -4
- package/vendor/shiki/langs/nushell.d.ts +0 -4
- package/vendor/shiki/langs/objc.d.ts +0 -4
- package/vendor/shiki/langs/objective-c.d.ts +0 -4
- package/vendor/shiki/langs/objective-cpp.d.ts +0 -4
- package/vendor/shiki/langs/ocaml.d.ts +0 -4
- package/vendor/shiki/langs/pascal.d.ts +0 -4
- package/vendor/shiki/langs/perl.d.ts +0 -4
- package/vendor/shiki/langs/perl6.d.ts +0 -4
- package/vendor/shiki/langs/php.d.ts +0 -4
- package/vendor/shiki/langs/plsql.d.ts +0 -4
- package/vendor/shiki/langs/po.d.ts +0 -4
- package/vendor/shiki/langs/postcss.d.ts +0 -4
- package/vendor/shiki/langs/pot.d.ts +0 -4
- package/vendor/shiki/langs/potx.d.ts +0 -4
- package/vendor/shiki/langs/powerquery.d.ts +0 -4
- package/vendor/shiki/langs/powershell.d.ts +0 -4
- package/vendor/shiki/langs/prisma.d.ts +0 -4
- package/vendor/shiki/langs/prolog.d.ts +0 -4
- package/vendor/shiki/langs/properties.d.ts +0 -4
- package/vendor/shiki/langs/proto.d.ts +0 -4
- package/vendor/shiki/langs/protobuf.d.ts +0 -4
- package/vendor/shiki/langs/ps.d.ts +0 -4
- package/vendor/shiki/langs/ps1.d.ts +0 -4
- package/vendor/shiki/langs/pug.d.ts +0 -4
- package/vendor/shiki/langs/puppet.d.ts +0 -4
- package/vendor/shiki/langs/purescript.d.ts +0 -4
- package/vendor/shiki/langs/py.d.ts +0 -4
- package/vendor/shiki/langs/python.d.ts +0 -4
- package/vendor/shiki/langs/ql.d.ts +0 -4
- package/vendor/shiki/langs/qml.d.ts +0 -4
- package/vendor/shiki/langs/qmldir.d.ts +0 -4
- package/vendor/shiki/langs/qss.d.ts +0 -4
- package/vendor/shiki/langs/r.d.ts +0 -4
- package/vendor/shiki/langs/racket.d.ts +0 -4
- package/vendor/shiki/langs/raku.d.ts +0 -4
- package/vendor/shiki/langs/razor.d.ts +0 -4
- package/vendor/shiki/langs/rb.d.ts +0 -4
- package/vendor/shiki/langs/reg.d.ts +0 -4
- package/vendor/shiki/langs/regex.d.ts +0 -4
- package/vendor/shiki/langs/regexp.d.ts +0 -4
- package/vendor/shiki/langs/rel.d.ts +0 -4
- package/vendor/shiki/langs/riscv.d.ts +0 -4
- package/vendor/shiki/langs/rs.d.ts +0 -4
- package/vendor/shiki/langs/rst.d.ts +0 -4
- package/vendor/shiki/langs/ruby.d.ts +0 -4
- package/vendor/shiki/langs/rust.d.ts +0 -4
- package/vendor/shiki/langs/sas.d.ts +0 -4
- package/vendor/shiki/langs/sass.d.ts +0 -4
- package/vendor/shiki/langs/scala.d.ts +0 -4
- package/vendor/shiki/langs/scheme.d.ts +0 -4
- package/vendor/shiki/langs/scss.d.ts +0 -4
- package/vendor/shiki/langs/sh.d.ts +0 -4
- package/vendor/shiki/langs/shader.d.ts +0 -4
- package/vendor/shiki/langs/shaderlab.d.ts +0 -4
- package/vendor/shiki/langs/shell.d.ts +0 -4
- package/vendor/shiki/langs/shellscript.d.ts +0 -4
- package/vendor/shiki/langs/shellsession.d.ts +0 -4
- package/vendor/shiki/langs/smalltalk.d.ts +0 -4
- package/vendor/shiki/langs/solidity.d.ts +0 -4
- package/vendor/shiki/langs/soy.d.ts +0 -4
- package/vendor/shiki/langs/sparql.d.ts +0 -4
- package/vendor/shiki/langs/spl.d.ts +0 -4
- package/vendor/shiki/langs/splunk.d.ts +0 -4
- package/vendor/shiki/langs/sql.d.ts +0 -4
- package/vendor/shiki/langs/ssh-config.d.ts +0 -4
- package/vendor/shiki/langs/stata.d.ts +0 -4
- package/vendor/shiki/langs/styl.d.ts +0 -4
- package/vendor/shiki/langs/stylus.d.ts +0 -4
- package/vendor/shiki/langs/svelte.d.ts +0 -4
- package/vendor/shiki/langs/swift.d.ts +0 -4
- package/vendor/shiki/langs/system-verilog.d.ts +0 -4
- package/vendor/shiki/langs/systemd.d.ts +0 -4
- package/vendor/shiki/langs/tasl.d.ts +0 -4
- package/vendor/shiki/langs/tcl.d.ts +0 -4
- package/vendor/shiki/langs/templ.d.ts +0 -4
- package/vendor/shiki/langs/terraform.d.ts +0 -4
- package/vendor/shiki/langs/tex.d.ts +0 -4
- package/vendor/shiki/langs/tf.d.ts +0 -4
- package/vendor/shiki/langs/tfvars.d.ts +0 -4
- package/vendor/shiki/langs/toml.d.ts +0 -4
- package/vendor/shiki/langs/ts-tags.d.ts +0 -4
- package/vendor/shiki/langs/ts.d.ts +0 -4
- package/vendor/shiki/langs/tsp.d.ts +0 -4
- package/vendor/shiki/langs/tsv.d.ts +0 -4
- package/vendor/shiki/langs/tsx.d.ts +0 -4
- package/vendor/shiki/langs/turtle.d.ts +0 -4
- package/vendor/shiki/langs/twig.d.ts +0 -4
- package/vendor/shiki/langs/typ.d.ts +0 -4
- package/vendor/shiki/langs/typescript.d.ts +0 -4
- package/vendor/shiki/langs/typespec.d.ts +0 -4
- package/vendor/shiki/langs/typst.d.ts +0 -4
- package/vendor/shiki/langs/v.d.ts +0 -4
- package/vendor/shiki/langs/vala.d.ts +0 -4
- package/vendor/shiki/langs/vb.d.ts +0 -4
- package/vendor/shiki/langs/verilog.d.ts +0 -4
- package/vendor/shiki/langs/vhdl.d.ts +0 -4
- package/vendor/shiki/langs/vim.d.ts +0 -4
- package/vendor/shiki/langs/viml.d.ts +0 -4
- package/vendor/shiki/langs/vimscript.d.ts +0 -4
- package/vendor/shiki/langs/vue-directives.d.ts +0 -4
- package/vendor/shiki/langs/vue-html.d.ts +0 -4
- package/vendor/shiki/langs/vue-interpolations.d.ts +0 -4
- package/vendor/shiki/langs/vue-sfc-style-variable-injection.d.ts +0 -4
- package/vendor/shiki/langs/vue.d.ts +0 -4
- package/vendor/shiki/langs/vy.d.ts +0 -4
- package/vendor/shiki/langs/vyper.d.ts +0 -4
- package/vendor/shiki/langs/wasm.d.ts +0 -4
- package/vendor/shiki/langs/wenyan.d.ts +0 -4
- package/vendor/shiki/langs/wgsl.d.ts +0 -4
- package/vendor/shiki/langs/wiki.d.ts +0 -4
- package/vendor/shiki/langs/wikitext.d.ts +0 -4
- package/vendor/shiki/langs/wl.d.ts +0 -4
- package/vendor/shiki/langs/wolfram.d.ts +0 -4
- package/vendor/shiki/langs/xml.d.ts +0 -4
- package/vendor/shiki/langs/xsl.d.ts +0 -4
- package/vendor/shiki/langs/yaml.d.ts +0 -4
- package/vendor/shiki/langs/yml.d.ts +0 -4
- package/vendor/shiki/langs/zenscript.d.ts +0 -4
- package/vendor/shiki/langs/zig.d.ts +0 -4
- package/vendor/shiki/langs/zsh.d.ts +0 -4
- package/vendor/shiki/manifest.json +0 -1466
- package/vendor/shiki/themes/andromeeda.d.ts +0 -4
- package/vendor/shiki/themes/aurora-x.d.ts +0 -4
- package/vendor/shiki/themes/ayu-dark.d.ts +0 -4
- package/vendor/shiki/themes/catppuccin-frappe.d.ts +0 -4
- package/vendor/shiki/themes/catppuccin-latte.d.ts +0 -4
- package/vendor/shiki/themes/catppuccin-macchiato.d.ts +0 -4
- package/vendor/shiki/themes/catppuccin-mocha.d.ts +0 -4
- package/vendor/shiki/themes/dark-plus.d.ts +0 -4
- package/vendor/shiki/themes/dracula-soft.d.ts +0 -4
- package/vendor/shiki/themes/dracula.d.ts +0 -4
- package/vendor/shiki/themes/everforest-dark.d.ts +0 -4
- package/vendor/shiki/themes/everforest-light.d.ts +0 -4
- package/vendor/shiki/themes/github-dark-default.d.ts +0 -4
- package/vendor/shiki/themes/github-dark-dimmed.d.ts +0 -4
- package/vendor/shiki/themes/github-dark-high-contrast.d.ts +0 -4
- package/vendor/shiki/themes/github-dark.d.ts +0 -4
- package/vendor/shiki/themes/github-light-default.d.ts +0 -4
- package/vendor/shiki/themes/github-light-high-contrast.d.ts +0 -4
- package/vendor/shiki/themes/github-light.d.ts +0 -4
- package/vendor/shiki/themes/houston.d.ts +0 -4
- package/vendor/shiki/themes/kanagawa-dragon.d.ts +0 -4
- package/vendor/shiki/themes/kanagawa-lotus.d.ts +0 -4
- package/vendor/shiki/themes/kanagawa-wave.d.ts +0 -4
- package/vendor/shiki/themes/laserwave.d.ts +0 -4
- package/vendor/shiki/themes/light-plus.d.ts +0 -4
- package/vendor/shiki/themes/material-theme-darker.d.ts +0 -4
- package/vendor/shiki/themes/material-theme-lighter.d.ts +0 -4
- package/vendor/shiki/themes/material-theme-ocean.d.ts +0 -4
- package/vendor/shiki/themes/material-theme-palenight.d.ts +0 -4
- package/vendor/shiki/themes/material-theme.d.ts +0 -4
- package/vendor/shiki/themes/min-dark.d.ts +0 -4
- package/vendor/shiki/themes/min-light.d.ts +0 -4
- package/vendor/shiki/themes/monokai.d.ts +0 -4
- package/vendor/shiki/themes/night-owl.d.ts +0 -4
- package/vendor/shiki/themes/nord.d.ts +0 -4
- package/vendor/shiki/themes/one-dark-pro.d.ts +0 -4
- package/vendor/shiki/themes/one-light.d.ts +0 -4
- package/vendor/shiki/themes/plastic.d.ts +0 -4
- package/vendor/shiki/themes/poimandres.d.ts +0 -4
- package/vendor/shiki/themes/red.d.ts +0 -4
- package/vendor/shiki/themes/rose-pine-dawn.d.ts +0 -4
- package/vendor/shiki/themes/rose-pine-moon.d.ts +0 -4
- package/vendor/shiki/themes/rose-pine.d.ts +0 -4
- package/vendor/shiki/themes/slack-dark.d.ts +0 -4
- package/vendor/shiki/themes/slack-ochin.d.ts +0 -4
- package/vendor/shiki/themes/snazzy-light.d.ts +0 -4
- package/vendor/shiki/themes/solarized-dark.d.ts +0 -4
- package/vendor/shiki/themes/solarized-light.d.ts +0 -4
- package/vendor/shiki/themes/tokyo-night.d.ts +0 -4
- package/vendor/shiki/themes/vesper.d.ts +0 -4
- package/vendor/shiki/themes/vitesse-black.d.ts +0 -4
- package/vendor/shiki/themes/vitesse-dark.d.ts +0 -4
- package/vendor/shiki/themes/vitesse-light.d.ts +0 -4
- /package/{vendor → src/vendor}/shiki/core/core.js +0 -0
- /package/{vendor → src/vendor}/shiki/core/engine-javascript.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/abap.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/actionscript-3.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/ada.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/adoc.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/angular-expression.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/angular-html.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/angular-inline-style.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/angular-inline-template.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/angular-let-declaration.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/angular-template-blocks.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/angular-template.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/angular-ts.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/apache.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/apex.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/apl.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/applescript.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/ara.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/asciidoc.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/asm.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/astro.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/awk.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/ballerina.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/bash.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/bat.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/batch.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/be.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/beancount.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/berry.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/bibtex.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/bicep.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/blade.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/c.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/cadence.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/cdc.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/clarity.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/clj.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/clojure.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/closure-templates.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/cmake.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/cmd.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/cobol.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/codeowners.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/codeql.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/coffee.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/coffeescript.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/common-lisp.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/console.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/coq.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/cpp-macro.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/cpp.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/cql.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/crystal.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/cs.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/csharp.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/css.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/csv.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/cue.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/cypher.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/d.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/dart.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/dax.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/desktop.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/diff.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/docker.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/dockerfile.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/dotenv.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/dream-maker.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/edge.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/elisp.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/elixir.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/elm.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/emacs-lisp.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/erb.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/erl.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/erlang.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/es-tag-css.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/es-tag-glsl.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/es-tag-html.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/es-tag-sql.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/es-tag-xml.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/f.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/f03.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/f08.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/f18.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/f77.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/f90.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/f95.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/fennel.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/fish.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/fluent.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/for.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/fortran-fixed-form.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/fortran-free-form.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/fs.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/fsharp.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/fsl.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/ftl.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/gdresource.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/gdscript.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/gdshader.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/genie.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/gherkin.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/git-commit.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/git-rebase.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/gjs.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/gleam.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/glimmer-js.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/glimmer-ts.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/glsl.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/gnuplot.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/go.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/gql.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/graphql.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/groovy.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/gts.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/hack.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/haml.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/handlebars.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/haskell.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/haxe.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/hbs.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/hcl.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/hjson.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/hlsl.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/hs.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/html-derivative.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/html.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/http.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/hxml.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/hy.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/imba.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/ini.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/jade.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/java.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/javascript.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/jinja-html.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/jinja.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/jison.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/jl.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/js.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/json.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/json5.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/jsonc.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/jsonl.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/jsonnet.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/jssm.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/jsx.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/julia.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/kotlin.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/kql.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/kt.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/kts.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/kusto.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/latex.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/lean.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/lean4.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/less.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/liquid.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/lisp.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/lit.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/log.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/logo.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/lua.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/luau.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/make.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/makefile.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/markdown-vue.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/markdown.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/marko.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/matlab.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/md.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/mdc.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/mdx.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/mediawiki.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/mermaid.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/mips.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/mipsasm.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/mmd.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/mojo.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/move.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/nar.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/narrat.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/nextflow.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/nf.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/nginx.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/nim.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/nix.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/nu.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/nushell.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/objc.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/objective-c.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/objective-cpp.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/ocaml.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/pascal.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/perl.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/perl6.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/php.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/plsql.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/po.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/postcss.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/pot.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/potx.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/powerquery.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/powershell.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/prisma.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/prolog.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/properties.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/proto.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/protobuf.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/ps.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/ps1.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/pug.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/puppet.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/purescript.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/py.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/python.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/ql.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/qml.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/qmldir.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/qss.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/r.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/racket.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/raku.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/razor.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/rb.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/reg.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/regex.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/regexp.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/rel.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/riscv.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/rs.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/rst.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/ruby.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/rust.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/sas.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/sass.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/scala.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/scheme.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/scss.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/sh.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/shader.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/shaderlab.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/shell.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/shellscript.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/shellsession.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/smalltalk.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/solidity.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/soy.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/sparql.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/spl.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/splunk.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/sql.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/ssh-config.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/stata.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/styl.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/stylus.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/svelte.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/swift.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/system-verilog.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/systemd.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/tasl.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/tcl.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/templ.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/terraform.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/tex.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/tf.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/tfvars.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/toml.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/ts-tags.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/ts.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/tsp.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/tsv.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/tsx.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/turtle.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/twig.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/typ.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/typescript.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/typespec.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/typst.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/v.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/vala.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/vb.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/verilog.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/vhdl.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/vim.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/viml.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/vimscript.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/vue-directives.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/vue-html.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/vue-interpolations.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/vue-sfc-style-variable-injection.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/vue.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/vy.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/vyper.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/wasm.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/wenyan.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/wgsl.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/wiki.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/wikitext.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/wl.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/wolfram.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/xml.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/xsl.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/yaml.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/yml.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/zenscript.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/zig.js +0 -0
- /package/{vendor → src/vendor}/shiki/langs/zsh.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/andromeeda.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/aurora-x.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/ayu-dark.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/catppuccin-frappe.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/catppuccin-latte.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/catppuccin-macchiato.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/catppuccin-mocha.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/dark-plus.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/dracula-soft.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/dracula.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/everforest-dark.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/everforest-light.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/github-dark-default.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/github-dark-dimmed.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/github-dark-high-contrast.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/github-dark.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/github-light-default.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/github-light-high-contrast.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/github-light.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/houston.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/kanagawa-dragon.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/kanagawa-lotus.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/kanagawa-wave.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/laserwave.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/light-plus.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/material-theme-darker.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/material-theme-lighter.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/material-theme-ocean.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/material-theme-palenight.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/material-theme.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/min-dark.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/min-light.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/monokai.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/night-owl.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/nord.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/one-dark-pro.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/one-light.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/plastic.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/poimandres.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/red.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/rose-pine-dawn.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/rose-pine-moon.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/rose-pine.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/slack-dark.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/slack-ochin.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/snazzy-light.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/solarized-dark.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/solarized-light.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/tokyo-night.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/vesper.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/vitesse-black.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/vitesse-dark.js +0 -0
- /package/{vendor → src/vendor}/shiki/themes/vitesse-light.js +0 -0
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "rn-shiki",
|
3
3
|
"type": "module",
|
4
|
-
"version": "0.0.
|
4
|
+
"version": "0.0.17",
|
5
5
|
"description": "Shiki syntax highlighter for React Native.",
|
6
6
|
"author": "Ryan Skinner <hello@ryanskinner.com>",
|
7
7
|
"license": "MIT",
|
@@ -13,11 +13,23 @@
|
|
13
13
|
"android",
|
14
14
|
"web"
|
15
15
|
],
|
16
|
-
"
|
17
|
-
|
16
|
+
"exports": {
|
17
|
+
".": {
|
18
|
+
"types": "./lib/typescript/index.d.ts",
|
19
|
+
"import": "./lib/module/index.js",
|
20
|
+
"require": "./lib/commonjs/index.js",
|
21
|
+
"default": "./lib/module/index.js"
|
22
|
+
}
|
23
|
+
},
|
24
|
+
"main": "lib/commonjs/index.js",
|
25
|
+
"module": "lib/module/index.js",
|
18
26
|
"types": "lib/typescript/index.d.ts",
|
19
27
|
"react-native": "src/index",
|
20
28
|
"source": "src/index",
|
29
|
+
"files": [
|
30
|
+
"lib",
|
31
|
+
"src"
|
32
|
+
],
|
21
33
|
"scripts": {
|
22
34
|
"build:shiki": "node scripts/build.js",
|
23
35
|
"build": "yarn build:shiki && bob build",
|
@@ -53,8 +65,38 @@
|
|
53
65
|
"source": "src",
|
54
66
|
"output": "lib",
|
55
67
|
"targets": [
|
56
|
-
|
57
|
-
|
68
|
+
[
|
69
|
+
"commonjs",
|
70
|
+
{
|
71
|
+
"babelrc": true,
|
72
|
+
"configFile": true,
|
73
|
+
"babel": {
|
74
|
+
"generatorOpts": {
|
75
|
+
"compact": false,
|
76
|
+
"retainLines": true,
|
77
|
+
"shouldPrintComment": true,
|
78
|
+
"concise": false,
|
79
|
+
"minified": false
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
],
|
84
|
+
[
|
85
|
+
"module",
|
86
|
+
{
|
87
|
+
"babelrc": true,
|
88
|
+
"configFile": true,
|
89
|
+
"babel": {
|
90
|
+
"generatorOpts": {
|
91
|
+
"compact": false,
|
92
|
+
"retainLines": true,
|
93
|
+
"shouldPrintComment": true,
|
94
|
+
"concise": false,
|
95
|
+
"minified": false
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
],
|
58
100
|
[
|
59
101
|
"typescript",
|
60
102
|
{
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import type { LanguageInput, ThemeInput } from 'shiki'
|
2
2
|
import React from 'react'
|
3
3
|
import { Text, View } from 'react-native'
|
4
|
-
import typescript from 'vendor/shiki/langs/typescript'
|
5
|
-
import githubDark from 'vendor/shiki/themes/github-dark'
|
6
4
|
import { useSyntaxHighlighter } from '../../hooks/useSyntaxHighlighter'
|
5
|
+
import typescript from '../../vendor/shiki/langs/typescript'
|
6
|
+
import githubDark from '../../vendor/shiki/themes/github-dark'
|
7
7
|
|
8
8
|
interface SyntaxHighlighterProps {
|
9
9
|
text: string
|
@@ -34,6 +34,7 @@ function SyntaxHighlighter({
|
|
34
34
|
return (
|
35
35
|
<Text style={{ color: '#ff6b6b', fontFamily: 'monospace', fontSize }}>
|
36
36
|
Error:
|
37
|
+
{' '}
|
37
38
|
{error}
|
38
39
|
</Text>
|
39
40
|
)
|
@@ -1,21 +1,7 @@
|
|
1
|
-
import type {
|
1
|
+
import type { ShikiResult, SyntaxHighlighterProps, ThemedToken } from '../types/shiki'
|
2
2
|
import { useEffect, useState } from 'react'
|
3
3
|
import { createHighlighter } from '../syntax'
|
4
4
|
|
5
|
-
interface ShikiResult {
|
6
|
-
tokens: ThemedToken[][]
|
7
|
-
bg: string
|
8
|
-
fg: string
|
9
|
-
}
|
10
|
-
|
11
|
-
interface SyntaxHighlighterProps {
|
12
|
-
text: string
|
13
|
-
lang: LanguageInput
|
14
|
-
langName: string
|
15
|
-
theme: ThemeInput
|
16
|
-
themeName: string
|
17
|
-
}
|
18
|
-
|
19
5
|
export function useSyntaxHighlighter({ text, lang, langName, theme, themeName }: SyntaxHighlighterProps) {
|
20
6
|
const [tokens, setTokens] = useState<ThemedToken[][]>([])
|
21
7
|
const [error, setError] = useState<string>()
|
package/src/index.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { LanguageInput, ThemedToken, ThemeInput } from 'shiki'
|
2
2
|
import type { TokenType } from '../../types'
|
3
|
-
import { createHighlighterCore } from '
|
4
|
-
import { createJavaScriptRegexEngine } from '
|
3
|
+
import { createHighlighterCore } from 'vendor/shiki/core/core'
|
4
|
+
import { createJavaScriptRegexEngine } from 'vendor/shiki/core/engine-javascript'
|
5
5
|
|
6
6
|
async function initializeHighlighter(langs: LanguageInput[], themes: ThemeInput[]): Promise<Awaited<ReturnType<typeof createHighlighterCore>>> {
|
7
7
|
return createHighlighterCore({
|
package/src/types/shiki.d.ts
CHANGED
@@ -1,8 +1,15 @@
|
|
1
|
-
|
2
|
-
import type { LanguageInput, ThemeInput } from 'shiki'
|
1
|
+
import type { LanguageInput, ThemeInput } from 'shiki'
|
3
2
|
|
4
|
-
|
3
|
+
declare module 'vendor/shiki/core/core' {
|
4
|
+
export interface HighlighterCoreOptions {
|
5
|
+
engine: any
|
6
|
+
langs: LanguageInput[]
|
7
|
+
themes: ThemeInput[]
|
8
|
+
}
|
9
|
+
|
10
|
+
export function createHighlighterCore(options: HighlighterCoreOptions): any
|
5
11
|
}
|
6
|
-
|
12
|
+
|
13
|
+
declare module 'vendor/shiki/core/engine-javascript' {
|
7
14
|
export function createJavaScriptRegexEngine(): any
|
8
15
|
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import type { LanguageInput, ThemedToken, ThemeInput } from 'shiki'
|
2
|
+
|
3
|
+
export type { LanguageInput, ThemedToken, ThemeInput }
|
4
|
+
|
5
|
+
export interface ShikiResult {
|
6
|
+
tokens: ThemedToken[][]
|
7
|
+
bg: string
|
8
|
+
fg: string
|
9
|
+
}
|
10
|
+
|
11
|
+
export interface SyntaxHighlighterProps {
|
12
|
+
text: string
|
13
|
+
lang: LanguageInput
|
14
|
+
langName: string
|
15
|
+
theme: ThemeInput
|
16
|
+
themeName: string
|
17
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import type { LanguageInput, ThemeInput } from 'shiki'
|
2
|
+
|
3
|
+
export interface HighlighterCoreOptions {
|
4
|
+
engine: any
|
5
|
+
langs: LanguageInput[]
|
6
|
+
themes: ThemeInput[]
|
7
|
+
}
|
8
|
+
|
9
|
+
export function createHighlighterCore(options: HighlighterCoreOptions): Promise<{
|
10
|
+
codeToTokens: (code: string, options: { lang: string; theme: string }) => any
|
11
|
+
}>
|