shiki 3.20.0 → 3.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle-full.mjs +1 -1
- package/dist/bundle-web.d.mts +1 -1
- package/dist/bundle-web.mjs +1 -1
- package/dist/langs/c3.d.mts +1 -0
- package/dist/langs/c3.mjs +1 -0
- package/dist/langs/gd.d.mts +1 -0
- package/dist/langs/gd.mjs +1 -0
- package/dist/langs/gn.d.mts +1 -0
- package/dist/langs/gn.mjs +1 -0
- package/dist/langs/mbt.d.mts +1 -0
- package/dist/langs/mbt.mjs +1 -0
- package/dist/langs/mbti.d.mts +1 -0
- package/dist/langs/mbti.mjs +1 -0
- package/dist/langs/moonbit.d.mts +1 -0
- package/dist/langs/moonbit.mjs +1 -0
- package/dist/langs/odin.d.mts +1 -0
- package/dist/langs/odin.mjs +1 -0
- package/dist/langs/ron.d.mts +1 -0
- package/dist/langs/ron.mjs +1 -0
- package/dist/langs/surql.d.mts +1 -0
- package/dist/langs/surql.mjs +1 -0
- package/dist/langs/surrealql.d.mts +1 -0
- package/dist/langs/surrealql.mjs +1 -0
- package/dist/langs/tres.d.mts +1 -0
- package/dist/langs/tres.mjs +1 -0
- package/dist/langs/tscn.d.mts +1 -0
- package/dist/langs/tscn.mjs +1 -0
- package/dist/langs.d.mts +2 -2
- package/dist/langs.mjs +44 -0
- package/dist/themes/ayu-light.d.mts +1 -0
- package/dist/themes/ayu-light.mjs +1 -0
- package/dist/themes/ayu-mirage.d.mts +1 -0
- package/dist/themes/ayu-mirage.mjs +1 -0
- package/dist/themes/horizon.d.mts +1 -0
- package/dist/themes/horizon.mjs +1 -0
- package/dist/themes/night-owl-light.d.mts +1 -0
- package/dist/themes/night-owl-light.mjs +1 -0
- package/dist/themes.d.mts +2 -2
- package/dist/themes.mjs +24 -0
- package/package.json +9 -9
package/dist/bundle-full.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createSingletonShorthands,
|
|
1
|
+
import { createSingletonShorthands, guessEmbeddedLanguages, createBundledHighlighter } from '@shikijs/core';
|
|
2
2
|
export * from '@shikijs/core';
|
|
3
3
|
import { bundledLanguages } from './langs.mjs';
|
|
4
4
|
export { bundledLanguagesAlias, bundledLanguagesBase, bundledLanguagesInfo } from './langs.mjs';
|
package/dist/bundle-web.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as hast from 'hast';
|
|
2
2
|
import * as _shikijs_types from '@shikijs/types';
|
|
3
|
-
import {
|
|
3
|
+
import { DynamicImportLanguageRegistration, BundledLanguageInfo, HighlighterGeneric } from '@shikijs/types';
|
|
4
4
|
import { BundledTheme } from './themes.mjs';
|
|
5
5
|
export { bundledThemes, bundledThemesInfo } from './themes.mjs';
|
|
6
6
|
export * from '@shikijs/core';
|
package/dist/bundle-web.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createSingletonShorthands,
|
|
1
|
+
import { createSingletonShorthands, guessEmbeddedLanguages, createBundledHighlighter } from '@shikijs/core';
|
|
2
2
|
export * from '@shikijs/core';
|
|
3
3
|
import { bundledThemes } from './themes.mjs';
|
|
4
4
|
export { bundledThemesInfo } from './themes.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '@shikijs/langs/c3'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '@shikijs/langs/gd'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '@shikijs/langs/gn'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '@shikijs/langs/mbt'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '@shikijs/langs/mbti'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '@shikijs/langs/moonbit'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '@shikijs/langs/odin'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '@shikijs/langs/ron'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '@shikijs/langs/surql'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '@shikijs/langs/surrealql'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '@shikijs/langs/tres'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '@shikijs/langs/tscn'
|
package/dist/langs.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DynamicImportLanguageRegistration, BundledLanguageInfo } from '@shikijs/types';
|
|
2
2
|
|
|
3
3
|
declare const bundledLanguagesInfo: BundledLanguageInfo[];
|
|
4
4
|
declare const bundledLanguagesBase: {
|
|
@@ -7,7 +7,7 @@ declare const bundledLanguagesBase: {
|
|
|
7
7
|
declare const bundledLanguagesAlias: {
|
|
8
8
|
[k: string]: DynamicImportLanguageRegistration;
|
|
9
9
|
};
|
|
10
|
-
type BundledLanguage = '1c' | '1c-query' | 'abap' | 'actionscript-3' | 'ada' | 'adoc' | 'angular-html' | 'angular-ts' | 'apache' | 'apex' | 'apl' | 'applescript' | 'ara' | 'asciidoc' | 'asm' | 'astro' | 'awk' | 'ballerina' | 'bash' | 'bat' | 'batch' | 'be' | 'beancount' | 'berry' | 'bibtex' | 'bicep' | 'blade' | 'bsl' | 'c' | 'c#' | 'c++' | 'cadence' | 'cairo' | 'cdc' | 'cjs' | 'clarity' | 'clj' | 'clojure' | 'closure-templates' | 'cmake' | 'cmd' | 'cobol' | 'codeowners' | 'codeql' | 'coffee' | 'coffeescript' | 'common-lisp' | 'console' | 'coq' | 'cpp' | 'cql' | 'crystal' | 'cs' | 'csharp' | 'css' | 'csv' | 'cts' | 'cue' | 'cypher' | 'd' | 'dart' | 'dax' | 'desktop' | 'diff' | 'docker' | 'dockerfile' | 'dotenv' | 'dream-maker' | 'edge' | 'elisp' | 'elixir' | 'elm' | 'emacs-lisp' | 'erb' | 'erl' | 'erlang' | 'f' | 'f#' | 'f03' | 'f08' | 'f18' | 'f77' | 'f90' | 'f95' | 'fennel' | 'fish' | 'fluent' | 'for' | 'fortran-fixed-form' | 'fortran-free-form' | 'fs' | 'fsharp' | 'fsl' | 'ftl' | 'gdresource' | 'gdscript' | 'gdshader' | 'genie' | 'gherkin' | 'git-commit' | 'git-rebase' | 'gjs' | 'gleam' | 'glimmer-js' | 'glimmer-ts' | 'glsl' | 'gnuplot' | 'go' | 'gql' | 'graphql' | 'groovy' | 'gts' | 'hack' | 'haml' | 'handlebars' | 'haskell' | 'haxe' | 'hbs' | 'hcl' | 'hjson' | 'hlsl' | 'hs' | 'html' | 'html-derivative' | 'http' | 'hurl' | 'hxml' | 'hy' | 'imba' | 'ini' | 'jade' | 'java' | 'javascript' | 'jinja' | 'jison' | 'jl' | 'js' | 'json' | 'json5' | 'jsonc' | 'jsonl' | 'jsonnet' | 'jssm' | 'jsx' | 'julia' | 'kdl' | 'kotlin' | 'kql' | 'kt' | 'kts' | 'kusto' | 'latex' | 'lean' | 'lean4' | 'less' | 'liquid' | 'lisp' | 'lit' | 'llvm' | 'log' | 'logo' | 'lua' | 'luau' | 'make' | 'makefile' | 'markdown' | 'marko' | 'matlab' | 'md' | 'mdc' | 'mdx' | 'mediawiki' | 'mermaid' | 'mips' | 'mipsasm' | 'mjs' | 'mmd' | 'mojo' | 'move' | 'mts' | 'nar' | 'narrat' | 'nextflow' | 'nf' | 'nginx' | 'nim' | 'nix' | 'nu' | 'nushell' | 'objc' | 'objective-c' | 'objective-cpp' | 'ocaml' | 'openscad' | 'pascal' | 'perl' | 'perl6' | 'php' | 'pkl' | 'plsql' | 'po' | 'polar' | 'postcss' | 'pot' | 'potx' | 'powerquery' | 'powershell' | 'prisma' | 'prolog' | 'properties' | 'proto' | 'protobuf' | 'ps' | 'ps1' | 'pug' | 'puppet' | 'purescript' | 'py' | 'python' | 'ql' | 'qml' | 'qmldir' | 'qss' | 'r' | 'racket' | 'raku' | 'razor' | 'rb' | 'reg' | 'regex' | 'regexp' | 'rel' | 'riscv' | 'rosmsg' | 'rs' | 'rst' | 'ruby' | 'rust' | 'sas' | 'sass' | 'scad' | 'scala' | 'scheme' | 'scss' | 'sdbl' | 'sh' | 'shader' | 'shaderlab' | 'shell' | 'shellscript' | 'shellsession' | 'smalltalk' | 'solidity' | 'soy' | 'sparql' | 'spl' | 'splunk' | 'sql' | 'ssh-config' | 'stata' | 'styl' | 'stylus' | 'svelte' | 'swift' | 'system-verilog' | 'systemd' | 'talon' | 'talonscript' | 'tasl' | 'tcl' | 'templ' | 'terraform' | 'tex' | 'tf' | 'tfvars' | 'toml' | 'ts' | 'ts-tags' | 'tsp' | 'tsv' | 'tsx' | 'turtle' | 'twig' | 'typ' | 'typescript' | 'typespec' | 'typst' | 'v' | 'vala' | 'vb' | 'verilog' | 'vhdl' | 'vim' | 'viml' | 'vimscript' | 'vue' | 'vue-html' | 'vue-vine' | 'vy' | 'vyper' | 'wasm' | 'wenyan' | 'wgsl' | 'wiki' | 'wikitext' | 'wit' | 'wl' | 'wolfram' | 'xml' | 'xsl' | 'yaml' | 'yml' | 'zenscript' | 'zig' | 'zsh' | '文言';
|
|
10
|
+
type BundledLanguage = '1c' | '1c-query' | 'abap' | 'actionscript-3' | 'ada' | 'adoc' | 'angular-html' | 'angular-ts' | 'apache' | 'apex' | 'apl' | 'applescript' | 'ara' | 'asciidoc' | 'asm' | 'astro' | 'awk' | 'ballerina' | 'bash' | 'bat' | 'batch' | 'be' | 'beancount' | 'berry' | 'bibtex' | 'bicep' | 'blade' | 'bsl' | 'c' | 'c#' | 'c++' | 'c3' | 'cadence' | 'cairo' | 'cdc' | 'cjs' | 'clarity' | 'clj' | 'clojure' | 'closure-templates' | 'cmake' | 'cmd' | 'cobol' | 'codeowners' | 'codeql' | 'coffee' | 'coffeescript' | 'common-lisp' | 'console' | 'coq' | 'cpp' | 'cql' | 'crystal' | 'cs' | 'csharp' | 'css' | 'csv' | 'cts' | 'cue' | 'cypher' | 'd' | 'dart' | 'dax' | 'desktop' | 'diff' | 'docker' | 'dockerfile' | 'dotenv' | 'dream-maker' | 'edge' | 'elisp' | 'elixir' | 'elm' | 'emacs-lisp' | 'erb' | 'erl' | 'erlang' | 'f' | 'f#' | 'f03' | 'f08' | 'f18' | 'f77' | 'f90' | 'f95' | 'fennel' | 'fish' | 'fluent' | 'for' | 'fortran-fixed-form' | 'fortran-free-form' | 'fs' | 'fsharp' | 'fsl' | 'ftl' | 'gd' | 'gdresource' | 'gdscript' | 'gdshader' | 'genie' | 'gherkin' | 'git-commit' | 'git-rebase' | 'gjs' | 'gleam' | 'glimmer-js' | 'glimmer-ts' | 'glsl' | 'gn' | 'gnuplot' | 'go' | 'gql' | 'graphql' | 'groovy' | 'gts' | 'hack' | 'haml' | 'handlebars' | 'haskell' | 'haxe' | 'hbs' | 'hcl' | 'hjson' | 'hlsl' | 'hs' | 'html' | 'html-derivative' | 'http' | 'hurl' | 'hxml' | 'hy' | 'imba' | 'ini' | 'jade' | 'java' | 'javascript' | 'jinja' | 'jison' | 'jl' | 'js' | 'json' | 'json5' | 'jsonc' | 'jsonl' | 'jsonnet' | 'jssm' | 'jsx' | 'julia' | 'kdl' | 'kotlin' | 'kql' | 'kt' | 'kts' | 'kusto' | 'latex' | 'lean' | 'lean4' | 'less' | 'liquid' | 'lisp' | 'lit' | 'llvm' | 'log' | 'logo' | 'lua' | 'luau' | 'make' | 'makefile' | 'markdown' | 'marko' | 'matlab' | 'mbt' | 'mbti' | 'md' | 'mdc' | 'mdx' | 'mediawiki' | 'mermaid' | 'mips' | 'mipsasm' | 'mjs' | 'mmd' | 'mojo' | 'moonbit' | 'move' | 'mts' | 'nar' | 'narrat' | 'nextflow' | 'nf' | 'nginx' | 'nim' | 'nix' | 'nu' | 'nushell' | 'objc' | 'objective-c' | 'objective-cpp' | 'ocaml' | 'odin' | 'openscad' | 'pascal' | 'perl' | 'perl6' | 'php' | 'pkl' | 'plsql' | 'po' | 'polar' | 'postcss' | 'pot' | 'potx' | 'powerquery' | 'powershell' | 'prisma' | 'prolog' | 'properties' | 'proto' | 'protobuf' | 'ps' | 'ps1' | 'pug' | 'puppet' | 'purescript' | 'py' | 'python' | 'ql' | 'qml' | 'qmldir' | 'qss' | 'r' | 'racket' | 'raku' | 'razor' | 'rb' | 'reg' | 'regex' | 'regexp' | 'rel' | 'riscv' | 'ron' | 'rosmsg' | 'rs' | 'rst' | 'ruby' | 'rust' | 'sas' | 'sass' | 'scad' | 'scala' | 'scheme' | 'scss' | 'sdbl' | 'sh' | 'shader' | 'shaderlab' | 'shell' | 'shellscript' | 'shellsession' | 'smalltalk' | 'solidity' | 'soy' | 'sparql' | 'spl' | 'splunk' | 'sql' | 'ssh-config' | 'stata' | 'styl' | 'stylus' | 'surql' | 'surrealql' | 'svelte' | 'swift' | 'system-verilog' | 'systemd' | 'talon' | 'talonscript' | 'tasl' | 'tcl' | 'templ' | 'terraform' | 'tex' | 'tf' | 'tfvars' | 'toml' | 'tres' | 'ts' | 'ts-tags' | 'tscn' | 'tsp' | 'tsv' | 'tsx' | 'turtle' | 'twig' | 'typ' | 'typescript' | 'typespec' | 'typst' | 'v' | 'vala' | 'vb' | 'verilog' | 'vhdl' | 'vim' | 'viml' | 'vimscript' | 'vue' | 'vue-html' | 'vue-vine' | 'vy' | 'vyper' | 'wasm' | 'wenyan' | 'wgsl' | 'wiki' | 'wikitext' | 'wit' | 'wl' | 'wolfram' | 'xml' | 'xsl' | 'yaml' | 'yml' | 'zenscript' | 'zig' | 'zsh' | '文言';
|
|
11
11
|
declare const bundledLanguages: Record<BundledLanguage, DynamicImportLanguageRegistration>;
|
|
12
12
|
|
|
13
13
|
export { bundledLanguages, bundledLanguagesAlias, bundledLanguagesBase, bundledLanguagesInfo };
|
package/dist/langs.mjs
CHANGED
|
@@ -126,6 +126,11 @@ const bundledLanguagesInfo = [
|
|
|
126
126
|
"name": "C",
|
|
127
127
|
"import": (() => import('@shikijs/langs/c'))
|
|
128
128
|
},
|
|
129
|
+
{
|
|
130
|
+
"id": "c3",
|
|
131
|
+
"name": "C3",
|
|
132
|
+
"import": (() => import('@shikijs/langs/c3'))
|
|
133
|
+
},
|
|
129
134
|
{
|
|
130
135
|
"id": "cadence",
|
|
131
136
|
"name": "Cadence",
|
|
@@ -372,11 +377,18 @@ const bundledLanguagesInfo = [
|
|
|
372
377
|
{
|
|
373
378
|
"id": "gdresource",
|
|
374
379
|
"name": "GDResource",
|
|
380
|
+
"aliases": [
|
|
381
|
+
"tscn",
|
|
382
|
+
"tres"
|
|
383
|
+
],
|
|
375
384
|
"import": (() => import('@shikijs/langs/gdresource'))
|
|
376
385
|
},
|
|
377
386
|
{
|
|
378
387
|
"id": "gdscript",
|
|
379
388
|
"name": "GDScript",
|
|
389
|
+
"aliases": [
|
|
390
|
+
"gd"
|
|
391
|
+
],
|
|
380
392
|
"import": (() => import('@shikijs/langs/gdscript'))
|
|
381
393
|
},
|
|
382
394
|
{
|
|
@@ -430,6 +442,11 @@ const bundledLanguagesInfo = [
|
|
|
430
442
|
"name": "GLSL",
|
|
431
443
|
"import": (() => import('@shikijs/langs/glsl'))
|
|
432
444
|
},
|
|
445
|
+
{
|
|
446
|
+
"id": "gn",
|
|
447
|
+
"name": "GN",
|
|
448
|
+
"import": (() => import('@shikijs/langs/gn'))
|
|
449
|
+
},
|
|
433
450
|
{
|
|
434
451
|
"id": "gnuplot",
|
|
435
452
|
"name": "Gnuplot",
|
|
@@ -740,6 +757,15 @@ const bundledLanguagesInfo = [
|
|
|
740
757
|
"name": "Mojo",
|
|
741
758
|
"import": (() => import('@shikijs/langs/mojo'))
|
|
742
759
|
},
|
|
760
|
+
{
|
|
761
|
+
"id": "moonbit",
|
|
762
|
+
"name": "MoonBit",
|
|
763
|
+
"aliases": [
|
|
764
|
+
"mbt",
|
|
765
|
+
"mbti"
|
|
766
|
+
],
|
|
767
|
+
"import": (() => import('@shikijs/langs/moonbit'))
|
|
768
|
+
},
|
|
743
769
|
{
|
|
744
770
|
"id": "move",
|
|
745
771
|
"name": "Move",
|
|
@@ -802,6 +828,11 @@ const bundledLanguagesInfo = [
|
|
|
802
828
|
"name": "OCaml",
|
|
803
829
|
"import": (() => import('@shikijs/langs/ocaml'))
|
|
804
830
|
},
|
|
831
|
+
{
|
|
832
|
+
"id": "odin",
|
|
833
|
+
"name": "Odin",
|
|
834
|
+
"import": (() => import('@shikijs/langs/odin'))
|
|
835
|
+
},
|
|
805
836
|
{
|
|
806
837
|
"id": "openscad",
|
|
807
838
|
"name": "OpenSCAD",
|
|
@@ -973,6 +1004,11 @@ const bundledLanguagesInfo = [
|
|
|
973
1004
|
"name": "RISC-V",
|
|
974
1005
|
"import": (() => import('@shikijs/langs/riscv'))
|
|
975
1006
|
},
|
|
1007
|
+
{
|
|
1008
|
+
"id": "ron",
|
|
1009
|
+
"name": "RON",
|
|
1010
|
+
"import": (() => import('@shikijs/langs/ron'))
|
|
1011
|
+
},
|
|
976
1012
|
{
|
|
977
1013
|
"id": "rosmsg",
|
|
978
1014
|
"name": "ROS Interface",
|
|
@@ -1113,6 +1149,14 @@ const bundledLanguagesInfo = [
|
|
|
1113
1149
|
],
|
|
1114
1150
|
"import": (() => import('@shikijs/langs/stylus'))
|
|
1115
1151
|
},
|
|
1152
|
+
{
|
|
1153
|
+
"id": "surrealql",
|
|
1154
|
+
"name": "SurrealQL",
|
|
1155
|
+
"aliases": [
|
|
1156
|
+
"surql"
|
|
1157
|
+
],
|
|
1158
|
+
"import": (() => import('@shikijs/langs/surrealql'))
|
|
1159
|
+
},
|
|
1116
1160
|
{
|
|
1117
1161
|
"id": "svelte",
|
|
1118
1162
|
"name": "Svelte",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { ThemeRegistrationRaw } from '@shikijs/core';declare const reg: ThemeRegistrationRaw;export default reg
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '@shikijs/themes/ayu-light'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { ThemeRegistrationRaw } from '@shikijs/core';declare const reg: ThemeRegistrationRaw;export default reg
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '@shikijs/themes/ayu-mirage'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { ThemeRegistrationRaw } from '@shikijs/core';declare const reg: ThemeRegistrationRaw;export default reg
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '@shikijs/themes/horizon'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { ThemeRegistrationRaw } from '@shikijs/core';declare const reg: ThemeRegistrationRaw;export default reg
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '@shikijs/themes/night-owl-light'
|
package/dist/themes.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DynamicImportThemeRegistration, BundledThemeInfo } from '@shikijs/core';
|
|
2
2
|
|
|
3
3
|
declare const bundledThemesInfo: BundledThemeInfo[];
|
|
4
|
-
type BundledTheme = 'andromeeda' | 'aurora-x' | 'ayu-dark' | 'catppuccin-frappe' | 'catppuccin-latte' | 'catppuccin-macchiato' | 'catppuccin-mocha' | 'dark-plus' | 'dracula' | 'dracula-soft' | 'everforest-dark' | 'everforest-light' | 'github-dark' | 'github-dark-default' | 'github-dark-dimmed' | 'github-dark-high-contrast' | 'github-light' | 'github-light-default' | 'github-light-high-contrast' | 'gruvbox-dark-hard' | 'gruvbox-dark-medium' | 'gruvbox-dark-soft' | 'gruvbox-light-hard' | 'gruvbox-light-medium' | 'gruvbox-light-soft' | 'houston' | 'kanagawa-dragon' | 'kanagawa-lotus' | 'kanagawa-wave' | 'laserwave' | 'light-plus' | 'material-theme' | 'material-theme-darker' | 'material-theme-lighter' | 'material-theme-ocean' | 'material-theme-palenight' | 'min-dark' | 'min-light' | 'monokai' | 'night-owl' | 'nord' | 'one-dark-pro' | 'one-light' | 'plastic' | 'poimandres' | 'red' | 'rose-pine' | 'rose-pine-dawn' | 'rose-pine-moon' | 'slack-dark' | 'slack-ochin' | 'snazzy-light' | 'solarized-dark' | 'solarized-light' | 'synthwave-84' | 'tokyo-night' | 'vesper' | 'vitesse-black' | 'vitesse-dark' | 'vitesse-light';
|
|
4
|
+
type BundledTheme = 'andromeeda' | 'aurora-x' | 'ayu-dark' | 'ayu-light' | 'ayu-mirage' | 'catppuccin-frappe' | 'catppuccin-latte' | 'catppuccin-macchiato' | 'catppuccin-mocha' | 'dark-plus' | 'dracula' | 'dracula-soft' | 'everforest-dark' | 'everforest-light' | 'github-dark' | 'github-dark-default' | 'github-dark-dimmed' | 'github-dark-high-contrast' | 'github-light' | 'github-light-default' | 'github-light-high-contrast' | 'gruvbox-dark-hard' | 'gruvbox-dark-medium' | 'gruvbox-dark-soft' | 'gruvbox-light-hard' | 'gruvbox-light-medium' | 'gruvbox-light-soft' | 'horizon' | 'houston' | 'kanagawa-dragon' | 'kanagawa-lotus' | 'kanagawa-wave' | 'laserwave' | 'light-plus' | 'material-theme' | 'material-theme-darker' | 'material-theme-lighter' | 'material-theme-ocean' | 'material-theme-palenight' | 'min-dark' | 'min-light' | 'monokai' | 'night-owl' | 'night-owl-light' | 'nord' | 'one-dark-pro' | 'one-light' | 'plastic' | 'poimandres' | 'red' | 'rose-pine' | 'rose-pine-dawn' | 'rose-pine-moon' | 'slack-dark' | 'slack-ochin' | 'snazzy-light' | 'solarized-dark' | 'solarized-light' | 'synthwave-84' | 'tokyo-night' | 'vesper' | 'vitesse-black' | 'vitesse-dark' | 'vitesse-light';
|
|
5
5
|
declare const bundledThemes: Record<BundledTheme, DynamicImportThemeRegistration>;
|
|
6
6
|
|
|
7
7
|
export { bundledThemes, bundledThemesInfo };
|
package/dist/themes.mjs
CHANGED
|
@@ -17,6 +17,18 @@ const bundledThemesInfo = [
|
|
|
17
17
|
"type": "dark",
|
|
18
18
|
"import": (() => import('@shikijs/themes/ayu-dark'))
|
|
19
19
|
},
|
|
20
|
+
{
|
|
21
|
+
"id": "ayu-light",
|
|
22
|
+
"displayName": "Ayu Light",
|
|
23
|
+
"type": "light",
|
|
24
|
+
"import": (() => import('@shikijs/themes/ayu-light'))
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "ayu-mirage",
|
|
28
|
+
"displayName": "Ayu Mirage",
|
|
29
|
+
"type": "dark",
|
|
30
|
+
"import": (() => import('@shikijs/themes/ayu-mirage'))
|
|
31
|
+
},
|
|
20
32
|
{
|
|
21
33
|
"id": "catppuccin-frappe",
|
|
22
34
|
"displayName": "Catppuccin Frapp\xE9",
|
|
@@ -149,6 +161,12 @@ const bundledThemesInfo = [
|
|
|
149
161
|
"type": "light",
|
|
150
162
|
"import": (() => import('@shikijs/themes/gruvbox-light-soft'))
|
|
151
163
|
},
|
|
164
|
+
{
|
|
165
|
+
"id": "horizon",
|
|
166
|
+
"displayName": "Horizon",
|
|
167
|
+
"type": "dark",
|
|
168
|
+
"import": (() => import('@shikijs/themes/horizon'))
|
|
169
|
+
},
|
|
152
170
|
{
|
|
153
171
|
"id": "houston",
|
|
154
172
|
"displayName": "Houston",
|
|
@@ -239,6 +257,12 @@ const bundledThemesInfo = [
|
|
|
239
257
|
"type": "dark",
|
|
240
258
|
"import": (() => import('@shikijs/themes/night-owl'))
|
|
241
259
|
},
|
|
260
|
+
{
|
|
261
|
+
"id": "night-owl-light",
|
|
262
|
+
"displayName": "Night Owl Light",
|
|
263
|
+
"type": "light",
|
|
264
|
+
"import": (() => import('@shikijs/themes/night-owl-light'))
|
|
265
|
+
},
|
|
242
266
|
{
|
|
243
267
|
"id": "nord",
|
|
244
268
|
"displayName": "Nord",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shiki",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.22.0",
|
|
5
5
|
"description": "A beautiful Syntax Highlighter.",
|
|
6
6
|
"author": "Pine Wu <octref@gmail.com>; Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -48,17 +48,17 @@
|
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@shikijs/vscode-textmate": "^10.0.2",
|
|
50
50
|
"@types/hast": "^3.0.4",
|
|
51
|
-
"@shikijs/core": "3.
|
|
52
|
-
"@shikijs/
|
|
53
|
-
"@shikijs/
|
|
54
|
-
"@shikijs/
|
|
55
|
-
"@shikijs/
|
|
56
|
-
"@shikijs/
|
|
51
|
+
"@shikijs/core": "3.22.0",
|
|
52
|
+
"@shikijs/engine-oniguruma": "3.22.0",
|
|
53
|
+
"@shikijs/engine-javascript": "3.22.0",
|
|
54
|
+
"@shikijs/langs": "3.22.0",
|
|
55
|
+
"@shikijs/themes": "3.22.0",
|
|
56
|
+
"@shikijs/types": "3.22.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"rollup-plugin-copy": "^3.5.0",
|
|
60
|
-
"tm-grammars": "^1.
|
|
61
|
-
"tm-themes": "^1.
|
|
60
|
+
"tm-grammars": "^1.30.0",
|
|
61
|
+
"tm-themes": "^1.11.0",
|
|
62
62
|
"vscode-oniguruma": "1.7.0"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|