shiki 1.11.1 → 1.12.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.
@@ -15,7 +15,7 @@ declare const bundledLanguagesBase: {
15
15
  declare const bundledLanguagesAlias: {
16
16
  [k: string]: DynamicImportLanguageRegistration;
17
17
  };
18
- type BundledLanguage = 'angular-html' | 'angular-ts' | 'astro' | 'bash' | 'blade' | 'c' | 'c++' | 'coffee' | 'coffeescript' | 'cpp' | 'css' | 'glsl' | 'gql' | 'graphql' | 'haml' | 'handlebars' | 'hbs' | 'html' | 'html-derivative' | 'http' | 'imba' | 'jade' | 'java' | 'javascript' | 'jinja' | 'jison' | 'jl' | 'js' | 'json' | 'json5' | 'jsonc' | 'jsonl' | 'jsx' | 'julia' | 'less' | 'lua' | 'markdown' | 'marko' | 'md' | 'mdc' | 'mdx' | 'php' | 'postcss' | 'pug' | 'py' | 'python' | 'r' | 'rb' | 'regex' | 'regexp' | 'ruby' | 'sass' | 'scss' | 'sh' | 'shell' | 'shellscript' | 'sql' | 'styl' | 'stylus' | 'svelte' | 'toml' | 'ts' | 'tsx' | 'typescript' | 'vue' | 'vue-html' | 'wasm' | 'wgsl' | 'xml' | 'yaml' | 'yml' | 'zsh';
18
+ type BundledLanguage = 'angular-html' | 'angular-ts' | 'astro' | 'bash' | 'blade' | 'c' | 'c++' | 'coffee' | 'coffeescript' | 'cpp' | 'css' | 'glsl' | 'gql' | 'graphql' | 'haml' | 'handlebars' | 'hbs' | 'html' | 'html-derivative' | 'http' | 'imba' | 'jade' | 'java' | 'javascript' | 'jinja' | 'jison' | 'jl' | 'js' | 'json' | 'json5' | 'jsonc' | 'jsonl' | 'jsx' | 'julia' | 'less' | 'lit' | 'lua' | 'markdown' | 'marko' | 'md' | 'mdc' | 'mdx' | 'php' | 'postcss' | 'pug' | 'py' | 'python' | 'r' | 'rb' | 'regex' | 'regexp' | 'ruby' | 'sass' | 'scss' | 'sh' | 'shell' | 'shellscript' | 'sql' | 'styl' | 'stylus' | 'svelte' | 'toml' | 'ts' | 'ts-tags' | 'tsx' | 'typescript' | 'vue' | 'vue-html' | 'wasm' | 'wgsl' | 'xml' | 'yaml' | 'yml' | 'zsh';
19
19
  declare const bundledLanguages: Record<BundledLanguage, DynamicImportLanguageRegistration>;
20
20
 
21
21
  type Highlighter = HighlighterGeneric<BundledLanguage, BundledTheme>;
@@ -278,6 +278,14 @@ const bundledLanguagesInfo = [
278
278
  "name": "TOML",
279
279
  "import": () => import('./langs/toml.mjs')
280
280
  },
281
+ {
282
+ "id": "ts-tags",
283
+ "name": "TypeScript with Tags",
284
+ "aliases": [
285
+ "lit"
286
+ ],
287
+ "import": () => import('./langs/ts-tags.mjs')
288
+ },
281
289
  {
282
290
  "id": "tsx",
283
291
  "name": "TSX",
@@ -0,0 +1 @@
1
+ import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg
@@ -0,0 +1,13 @@
1
+ import typescript from './typescript.mjs';
2
+ import css from './css.mjs';
3
+ import javascript from './javascript.mjs';
4
+
5
+ const lang = Object.freeze({ "fileTypes": ["js", "jsx", "ts", "tsx", "html", "vue", "svelte", "php", "res"], "injectTo": ["source.ts", "source.js"], "injectionSelector": "L:source.js -comment -string, L:source.js -comment -string, L:source.jsx -comment -string, L:source.js.jsx -comment -string, L:source.ts -comment -string, L:source.tsx -comment -string, L:source.rescript -comment -string, L:source.vue -comment -string, L:source.svelte -comment -string, L:source.php -comment -string, L:source.rescript -comment -string", "injections": { "L:source": { "patterns": [{ "match": "<", "name": "invalid.illegal.bad-angle-bracket.html" }] } }, "name": "es-tag-css", "patterns": [{ "begin": "(?i)(\\s?\\/\\*\\s?(css|inline-css)\\s?\\*\\/\\s?)(`)", "beginCaptures": { "1": { "name": "comment.block" } }, "end": "(`)", "patterns": [{ "include": "source.ts#template-substitution-element" }, { "include": "source.css" }, { "include": "inline.es6-htmlx#template" }] }, { "begin": "(?i)(\\s*(css|inline-css))(`)", "beginCaptures": { "1": { "name": "comment.block" } }, "end": "(`)", "patterns": [{ "include": "source.ts#template-substitution-element" }, { "include": "source.css" }, { "include": "inline.es6-htmlx#template" }, { "include": "string.quoted.other.template.js" }] }, { "begin": "(?i)(?<=\\s|\\,|\\=|\\:|\\(|\\$\\()\\s{0,}(((\\/\\*)|(\\/\\/))\\s?(css|inline-css)[ ]{0,1000}\\*?\\/?)[ ]{0,1000}$", "beginCaptures": { "1": { "name": "comment.line" } }, "end": "(`).*", "patterns": [{ "begin": "(\\G)", "end": "(`)" }, { "include": "source.ts#template-substitution-element" }, { "include": "source.css" }] }, { "begin": "(\\${)", "beginCaptures": { "1": { "name": "entity.name.tag" } }, "end": "(})", "endCaptures": { "1": { "name": "entity.name.tag" } }, "patterns": [{ "include": "source.ts#template-substitution-element" }, { "include": "source.js" }] }], "scopeName": "inline.es6-css", "embeddedLangs": ["typescript", "css", "javascript"] });
6
+ var es_tag_css = [
7
+ ...typescript,
8
+ ...css,
9
+ ...javascript,
10
+ lang
11
+ ];
12
+
13
+ export { es_tag_css as default };
@@ -0,0 +1 @@
1
+ import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg
@@ -0,0 +1,14 @@
1
+ import typescript from './typescript.mjs';
2
+ import glsl from './glsl.mjs';
3
+ import javascript from './javascript.mjs';
4
+ import './c.mjs';
5
+
6
+ const lang = Object.freeze({ "fileTypes": ["js", "jsx", "ts", "tsx", "html", "vue", "svelte", "php", "res"], "injectTo": ["source.ts", "source.js"], "injectionSelector": "L:source.js -comment -string, L:source.js -comment -string, L:source.jsx -comment -string, L:source.js.jsx -comment -string, L:source.ts -comment -string, L:source.tsx -comment -string, L:source.rescript -comment -string", "injections": { "L:source": { "patterns": [{ "match": "<", "name": "invalid.illegal.bad-angle-bracket.html" }] } }, "name": "es-tag-glsl", "patterns": [{ "begin": "(?i)(\\s?\\/\\*\\s?(glsl|inline-glsl)\\s?\\*\\/\\s?)(`)", "beginCaptures": { "1": { "name": "comment.block" } }, "end": "(`)", "patterns": [{ "include": "source.ts#template-substitution-element" }, { "include": "source.glsl" }, { "include": "inline.es6-htmlx#template" }] }, { "begin": "(?i)(\\s*(glsl|inline-glsl))(`)", "beginCaptures": { "1": { "name": "comment.block" } }, "end": "(`)", "patterns": [{ "include": "source.ts#template-substitution-element" }, { "include": "source.glsl" }, { "include": "inline.es6-htmlx#template" }, { "include": "string.quoted.other.template.js" }] }, { "begin": "(?i)(?<=\\s|\\,|\\=|\\:|\\(|\\$\\()\\s{0,}(((\\/\\*)|(\\/\\/))\\s?(glsl|inline-glsl)[ ]{0,1000}\\*?\\/?)[ ]{0,1000}$", "beginCaptures": { "1": { "name": "comment.line" } }, "end": "(`).*", "patterns": [{ "begin": "(\\G)", "end": "(`)" }, { "include": "source.ts#template-substitution-element" }, { "include": "source.glsl" }] }, { "begin": "(\\${)", "beginCaptures": { "1": { "name": "entity.name.tag" } }, "end": "(})", "endCaptures": { "1": { "name": "entity.name.tag" } }, "patterns": [{ "include": "source.ts#template-substitution-element" }, { "include": "source.js" }] }], "scopeName": "inline.es6-glsl", "embeddedLangs": ["typescript", "glsl", "javascript"] });
7
+ var es_tag_glsl = [
8
+ ...typescript,
9
+ ...glsl,
10
+ ...javascript,
11
+ lang
12
+ ];
13
+
14
+ export { es_tag_glsl as default };
@@ -0,0 +1 @@
1
+ import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg
@@ -0,0 +1,14 @@
1
+ import typescript from './typescript.mjs';
2
+ import html from './html.mjs';
3
+ import javascript from './javascript.mjs';
4
+ import './css.mjs';
5
+
6
+ const lang = Object.freeze({ "fileTypes": ["js", "jsx", "ts", "tsx", "html", "vue", "svelte", "php", "res"], "injectTo": ["source.ts", "source.js"], "injectionSelector": "L:source.js -comment -string, L:source.js -comment -string, L:source.jsx -comment -string, L:source.js.jsx -comment -string, L:source.ts -comment -string, L:source.tsx -comment -string, L:source.rescript -comment -string", "injections": { "L:source": { "patterns": [{ "match": "<", "name": "invalid.illegal.bad-angle-bracket.html" }] } }, "name": "es-tag-html", "patterns": [{ "begin": "(?i)(\\s?\\/\\*\\s?(html|template|inline-html|inline-template)\\s?\\*\\/\\s?)(`)", "beginCaptures": { "1": { "name": "comment.block" } }, "end": "(`)", "patterns": [{ "include": "source.ts#template-substitution-element" }, { "include": "text.html.basic" }, { "include": "inline.es6-htmlx#template" }] }, { "begin": "(?i)(\\s*(html|template|inline-html|inline-template))(`)", "beginCaptures": { "1": { "name": "comment.block" } }, "end": "(`)", "patterns": [{ "include": "source.ts#template-substitution-element" }, { "include": "text.html.basic" }, { "include": "inline.es6-htmlx#template" }, { "include": "string.quoted.other.template.js" }] }, { "begin": "(?i)(?<=\\s|\\,|\\=|\\:|\\(|\\$\\()\\s{0,}(((\\/\\*)|(\\/\\/))\\s?(html|template|inline-html|inline-template)[ ]{0,1000}\\*?\\/?)[ ]{0,1000}$", "beginCaptures": { "1": { "name": "comment.line" } }, "end": "(`).*", "patterns": [{ "begin": "(\\G)", "end": "(`)" }, { "include": "source.ts#template-substitution-element" }, { "include": "text.html.basic" }] }, { "begin": "(\\${)", "beginCaptures": { "1": { "name": "entity.name.tag" } }, "end": "(})", "endCaptures": { "1": { "name": "entity.name.tag" } }, "patterns": [{ "include": "source.ts#template-substitution-element" }, { "include": "source.js" }] }, { "begin": "(\\$\\(`)", "beginCaptures": { "1": { "name": "entity.name.tag" } }, "end": "(`\\))", "endCaptures": { "1": { "name": "entity.name.tag" } }, "patterns": [{ "include": "source.ts#template-substitution-element" }, { "include": "source.js" }] }], "scopeName": "inline.es6-html", "embeddedLangs": ["typescript", "html", "javascript"] });
7
+ var es_tag_html = [
8
+ ...typescript,
9
+ ...html,
10
+ ...javascript,
11
+ lang
12
+ ];
13
+
14
+ export { es_tag_html as default };
@@ -0,0 +1 @@
1
+ import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg
@@ -0,0 +1,11 @@
1
+ import typescript from './typescript.mjs';
2
+ import sql from './sql.mjs';
3
+
4
+ const lang = Object.freeze({ "fileTypes": ["js", "jsx", "ts", "tsx", "html", "vue", "svelte", "php", "res"], "injectTo": ["source.ts", "source.js"], "injectionSelector": "L:source.js -comment -string, L:source.jsx -comment -string, L:source.js.jsx -comment -string, L:source.ts -comment -string, L:source.tsx -comment -string, L:source.rescript -comment -string", "injections": { "L:source": { "patterns": [{ "match": "<", "name": "invalid.illegal.bad-angle-bracket.html" }] } }, "name": "es-tag-sql", "patterns": [{ "begin": "(?i)\\b(\\w+\\.sql)\\s*(`)", "beginCaptures": { "1": { "name": "variable.parameter" } }, "end": "(`)", "patterns": [{ "include": "source.ts#template-substitution-element" }, { "include": "source.ts#string-character-escape" }, { "include": "source.sql" }, { "include": "source.plpgsql.postgres" }, { "match": "." }] }, { "begin": "(?i)(\\s?\\/?\\*?\\s?(sql|inline-sql)\\s?\\*?\\/?\\s?)(`)", "beginCaptures": { "1": { "name": "comment.block" } }, "end": "(`)", "patterns": [{ "include": "source.ts#template-substitution-element" }, { "include": "source.ts#string-character-escape" }, { "include": "source.sql" }, { "include": "source.plpgsql.postgres" }, { "match": "." }] }, { "begin": "(?i)(?<=\\s|\\,|\\=|\\:|\\(|\\$\\()\\s{0,}(((\\/\\*)|(\\/\\/))\\s?(sql|inline-sql)[ ]{0,1000}\\*?\\/?)[ ]{0,1000}$", "beginCaptures": { "1": { "name": "comment.line" } }, "end": "(`)", "patterns": [{ "begin": "(\\G)", "end": "(`)" }, { "include": "source.ts#template-substitution-element" }, { "include": "source.ts#string-character-escape" }, { "include": "source.sql" }, { "include": "source.plpgsql.postgres" }, { "match": "." }] }], "scopeName": "inline.es6-sql", "embeddedLangs": ["typescript", "sql"] });
5
+ var es_tag_sql = [
6
+ ...typescript,
7
+ ...sql,
8
+ lang
9
+ ];
10
+
11
+ export { es_tag_sql as default };
@@ -0,0 +1 @@
1
+ import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg
@@ -0,0 +1,10 @@
1
+ import xml from './xml.mjs';
2
+ import './java.mjs';
3
+
4
+ const lang = Object.freeze({ "fileTypes": ["js", "jsx", "ts", "tsx", "html", "vue", "svelte", "php", "res"], "injectTo": ["source.ts", "source.js"], "injectionSelector": "L:source.js -comment -string, L:source.js -comment -string, L:source.jsx -comment -string, L:source.js.jsx -comment -string, L:source.ts -comment -string, L:source.tsx -comment -string, L:source.rescript -comment -string", "injections": { "L:source": { "patterns": [{ "match": "<", "name": "invalid.illegal.bad-angle-bracket.html" }] } }, "name": "es-tag-xml", "patterns": [{ "begin": "(?i)(\\s?\\/\\*\\s?(xml|svg|inline-svg|inline-xml)\\s?\\*\\/\\s?)(`)", "beginCaptures": { "1": { "name": "comment.block" } }, "end": "(`)", "patterns": [{ "include": "text.xml" }] }, { "begin": "(?i)(\\s*(xml|inline-xml))(`)", "beginCaptures": { "1": { "name": "comment.block" } }, "end": "(`)", "patterns": [{ "include": "text.xml" }] }, { "begin": "(?i)(?<=\\s|\\,|\\=|\\:|\\(|\\$\\()\\s{0,}(((\\/\\*)|(\\/\\/))\\s?(xml|svg|inline-svg|inline-xml)[ ]{0,1000}\\*?\\/?)[ ]{0,1000}$", "beginCaptures": { "1": { "name": "comment.line" } }, "end": "(`).*", "patterns": [{ "begin": "(\\G)", "end": "(`)" }, { "include": "text.xml" }] }], "scopeName": "inline.es6-xml", "embeddedLangs": ["xml"] });
5
+ var es_tag_xml = [
6
+ ...xml,
7
+ lang
8
+ ];
9
+
10
+ export { es_tag_xml as default };
@@ -0,0 +1 @@
1
+ import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg
@@ -0,0 +1,15 @@
1
+ export { default } from './ts-tags.mjs';
2
+ import './typescript.mjs';
3
+ import './es-tag-css.mjs';
4
+ import './css.mjs';
5
+ import './javascript.mjs';
6
+ import './es-tag-glsl.mjs';
7
+ import './glsl.mjs';
8
+ import './c.mjs';
9
+ import './es-tag-html.mjs';
10
+ import './html.mjs';
11
+ import './es-tag-sql.mjs';
12
+ import './sql.mjs';
13
+ import './es-tag-xml.mjs';
14
+ import './xml.mjs';
15
+ import './java.mjs';
@@ -0,0 +1 @@
1
+ import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg
@@ -0,0 +1,27 @@
1
+ import typescript from './typescript.mjs';
2
+ import es_tag_css from './es-tag-css.mjs';
3
+ import es_tag_glsl from './es-tag-glsl.mjs';
4
+ import es_tag_html from './es-tag-html.mjs';
5
+ import es_tag_sql from './es-tag-sql.mjs';
6
+ import es_tag_xml from './es-tag-xml.mjs';
7
+ import './css.mjs';
8
+ import './javascript.mjs';
9
+ import './glsl.mjs';
10
+ import './c.mjs';
11
+ import './html.mjs';
12
+ import './sql.mjs';
13
+ import './xml.mjs';
14
+ import './java.mjs';
15
+
16
+ const lang = Object.freeze({ "displayName": "TypeScript with Tags", "name": "ts-tags", "patterns": [{ "include": "source.ts" }], "scopeName": "source.ts.tags", "embeddedLangs": ["typescript", "es-tag-css", "es-tag-glsl", "es-tag-html", "es-tag-sql", "es-tag-xml"], "aliases": ["lit"] });
17
+ var tsTags = [
18
+ ...typescript,
19
+ ...es_tag_css,
20
+ ...es_tag_glsl,
21
+ ...es_tag_html,
22
+ ...es_tag_sql,
23
+ ...es_tag_xml,
24
+ lang
25
+ ];
26
+
27
+ export { tsTags as default };
package/dist/langs.d.mts CHANGED
@@ -7,7 +7,7 @@ declare const bundledLanguagesBase: {
7
7
  declare const bundledLanguagesAlias: {
8
8
  [k: string]: DynamicImportLanguageRegistration;
9
9
  };
10
- type BundledLanguage = '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' | 'c' | 'c#' | 'c++' | 'cadence' | 'cdc' | 'clarity' | 'clj' | 'clojure' | 'closure-templates' | 'cmake' | 'cmd' | 'cobol' | 'codeowners' | 'codeql' | 'coffee' | 'coffeescript' | 'common-lisp' | 'console' | 'cpp' | 'cql' | 'crystal' | 'cs' | 'csharp' | 'css' | 'csv' | 'cue' | 'cypher' | 'd' | 'dart' | 'dax' | 'desktop' | 'diff' | 'docker' | 'dockerfile' | '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' | 'hxml' | 'hy' | 'imba' | 'ini' | 'jade' | 'java' | 'javascript' | 'jinja' | 'jison' | 'jl' | 'js' | 'json' | 'json5' | 'jsonc' | 'jsonl' | 'jsonnet' | 'jssm' | 'jsx' | 'julia' | 'kotlin' | 'kql' | 'kt' | 'kts' | 'kusto' | 'latex' | 'lean' | 'lean4' | 'less' | 'liquid' | 'lisp' | 'log' | 'logo' | 'lua' | 'luau' | 'make' | 'makefile' | 'markdown' | 'marko' | 'matlab' | 'md' | 'mdc' | 'mdx' | 'mediawiki' | 'mermaid' | 'mojo' | 'move' | 'nar' | 'narrat' | 'nextflow' | 'nf' | 'nginx' | 'nim' | 'nix' | 'nu' | 'nushell' | 'objc' | 'objective-c' | 'objective-cpp' | 'ocaml' | 'pascal' | 'perl' | 'perl6' | 'php' | 'plsql' | 'po' | 'postcss' | 'pot' | 'potx' | 'powerquery' | 'powershell' | 'prisma' | 'prolog' | 'properties' | 'proto' | 'ps' | 'ps1' | 'pug' | 'puppet' | 'purescript' | 'py' | 'python' | 'ql' | 'qml' | 'qmldir' | 'qss' | 'r' | 'racket' | 'raku' | 'razor' | 'rb' | 'reg' | 'regex' | 'regexp' | 'rel' | 'riscv' | 'rs' | 'rst' | 'ruby' | 'rust' | 'sas' | 'sass' | 'scala' | 'scheme' | 'scss' | 'sh' | 'shader' | 'shaderlab' | 'shell' | 'shellscript' | 'shellsession' | 'smalltalk' | 'solidity' | 'soy' | 'sparql' | 'spl' | 'splunk' | 'sql' | 'ssh-config' | 'stata' | 'styl' | 'stylus' | 'svelte' | 'swift' | 'system-verilog' | 'systemd' | 'tasl' | 'tcl' | 'templ' | 'terraform' | 'tex' | 'tf' | 'tfvars' | 'toml' | 'ts' | 'tsp' | 'tsv' | 'tsx' | 'turtle' | 'twig' | 'typ' | 'typescript' | 'typespec' | 'typst' | 'v' | 'vala' | 'vb' | 'verilog' | 'vhdl' | 'vim' | 'viml' | 'vimscript' | 'vue' | 'vue-html' | 'vy' | 'vyper' | 'wasm' | 'wenyan' | 'wgsl' | 'wiki' | 'wikitext' | 'wl' | 'wolfram' | 'xml' | 'xsl' | 'yaml' | 'yml' | 'zenscript' | 'zig' | 'zsh' | '文言';
10
+ type BundledLanguage = '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' | 'c' | 'c#' | 'c++' | 'cadence' | 'cdc' | 'clarity' | 'clj' | 'clojure' | 'closure-templates' | 'cmake' | 'cmd' | 'cobol' | 'codeowners' | 'codeql' | 'coffee' | 'coffeescript' | 'common-lisp' | 'console' | 'cpp' | 'cql' | 'crystal' | 'cs' | 'csharp' | 'css' | 'csv' | 'cue' | 'cypher' | 'd' | 'dart' | 'dax' | 'desktop' | 'diff' | 'docker' | 'dockerfile' | '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' | 'hxml' | 'hy' | 'imba' | 'ini' | 'jade' | 'java' | 'javascript' | 'jinja' | 'jison' | 'jl' | 'js' | 'json' | 'json5' | 'jsonc' | 'jsonl' | 'jsonnet' | 'jssm' | 'jsx' | 'julia' | 'kotlin' | 'kql' | 'kt' | 'kts' | 'kusto' | 'latex' | 'lean' | 'lean4' | 'less' | 'liquid' | 'lisp' | 'lit' | 'log' | 'logo' | 'lua' | 'luau' | 'make' | 'makefile' | 'markdown' | 'marko' | 'matlab' | 'md' | 'mdc' | 'mdx' | 'mediawiki' | 'mermaid' | 'mojo' | 'move' | 'nar' | 'narrat' | 'nextflow' | 'nf' | 'nginx' | 'nim' | 'nix' | 'nu' | 'nushell' | 'objc' | 'objective-c' | 'objective-cpp' | 'ocaml' | 'pascal' | 'perl' | 'perl6' | 'php' | 'plsql' | 'po' | 'postcss' | 'pot' | 'potx' | 'powerquery' | 'powershell' | 'prisma' | 'prolog' | 'properties' | 'proto' | 'ps' | 'ps1' | 'pug' | 'puppet' | 'purescript' | 'py' | 'python' | 'ql' | 'qml' | 'qmldir' | 'qss' | 'r' | 'racket' | 'raku' | 'razor' | 'rb' | 'reg' | 'regex' | 'regexp' | 'rel' | 'riscv' | 'rs' | 'rst' | 'ruby' | 'rust' | 'sas' | 'sass' | 'scala' | 'scheme' | 'scss' | 'sh' | 'shader' | 'shaderlab' | 'shell' | 'shellscript' | 'shellsession' | 'smalltalk' | 'solidity' | 'soy' | 'sparql' | 'spl' | 'splunk' | 'sql' | 'ssh-config' | 'stata' | 'styl' | 'stylus' | 'svelte' | 'swift' | 'system-verilog' | 'systemd' | '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' | 'vy' | 'vyper' | 'wasm' | 'wenyan' | 'wgsl' | 'wiki' | 'wikitext' | 'wl' | 'wolfram' | 'xml' | 'xsl' | 'yaml' | 'yml' | 'zenscript' | 'zig' | 'zsh' | '文言';
11
11
  declare const bundledLanguages: Record<BundledLanguage, DynamicImportLanguageRegistration>;
12
12
 
13
13
  export { type BundledLanguage, bundledLanguages, bundledLanguagesAlias, bundledLanguagesBase, bundledLanguagesInfo };
package/dist/langs.mjs CHANGED
@@ -1082,6 +1082,14 @@ const bundledLanguagesInfo = [
1082
1082
  "name": "TOML",
1083
1083
  "import": () => import('./langs/toml.mjs')
1084
1084
  },
1085
+ {
1086
+ "id": "ts-tags",
1087
+ "name": "TypeScript with Tags",
1088
+ "aliases": [
1089
+ "lit"
1090
+ ],
1091
+ "import": () => import('./langs/ts-tags.mjs')
1092
+ },
1085
1093
  {
1086
1094
  "id": "tsv",
1087
1095
  "name": "TSV",
@@ -227,7 +227,9 @@ var vitesseBlack = Object.freeze({
227
227
  "meta.embedded.block.github-actions-expression",
228
228
  "storage.type.function.arrow",
229
229
  "meta.objectliteral.ts",
230
- "punctuation"
230
+ "punctuation",
231
+ "punctuation.definition.string.begin.html.vue",
232
+ "punctuation.definition.string.end.html.vue"
231
233
  ],
232
234
  "settings": {
233
235
  "foreground": "#444444"
@@ -277,7 +279,8 @@ var vitesseBlack = Object.freeze({
277
279
  {
278
280
  "scope": [
279
281
  "keyword",
280
- "storage.type.class.jsdoc"
282
+ "storage.type.class.jsdoc",
283
+ "punctuation.definition.template-expression"
281
284
  ],
282
285
  "settings": {
283
286
  "foreground": "#4d9375"
@@ -289,7 +292,8 @@ var vitesseBlack = Object.freeze({
289
292
  "storage.type",
290
293
  "support.type.builtin",
291
294
  "constant.language.undefined",
292
- "constant.language.null"
295
+ "constant.language.null",
296
+ "constant.language.import-export-all.ts"
293
297
  ],
294
298
  "settings": {
295
299
  "foreground": "#cb7676"
@@ -318,11 +322,18 @@ var vitesseBlack = Object.freeze({
318
322
  },
319
323
  {
320
324
  "scope": [
321
- "punctuation.definition.string",
325
+ "punctuation.definition.string"
326
+ ],
327
+ "settings": {
328
+ "foreground": "#c98a7d77"
329
+ }
330
+ },
331
+ {
332
+ "scope": [
322
333
  "punctuation.support.type.property-name"
323
334
  ],
324
335
  "settings": {
325
- "foreground": "#c98a7d99"
336
+ "foreground": "#b8a96577"
326
337
  }
327
338
  },
328
339
  {
@@ -227,7 +227,9 @@ var vitesseDark = Object.freeze({
227
227
  "meta.embedded.block.github-actions-expression",
228
228
  "storage.type.function.arrow",
229
229
  "meta.objectliteral.ts",
230
- "punctuation"
230
+ "punctuation",
231
+ "punctuation.definition.string.begin.html.vue",
232
+ "punctuation.definition.string.end.html.vue"
231
233
  ],
232
234
  "settings": {
233
235
  "foreground": "#666666"
@@ -277,7 +279,8 @@ var vitesseDark = Object.freeze({
277
279
  {
278
280
  "scope": [
279
281
  "keyword",
280
- "storage.type.class.jsdoc"
282
+ "storage.type.class.jsdoc",
283
+ "punctuation.definition.template-expression"
281
284
  ],
282
285
  "settings": {
283
286
  "foreground": "#4d9375"
@@ -289,7 +292,8 @@ var vitesseDark = Object.freeze({
289
292
  "storage.type",
290
293
  "support.type.builtin",
291
294
  "constant.language.undefined",
292
- "constant.language.null"
295
+ "constant.language.null",
296
+ "constant.language.import-export-all.ts"
293
297
  ],
294
298
  "settings": {
295
299
  "foreground": "#cb7676"
@@ -318,11 +322,18 @@ var vitesseDark = Object.freeze({
318
322
  },
319
323
  {
320
324
  "scope": [
321
- "punctuation.definition.string",
325
+ "punctuation.definition.string"
326
+ ],
327
+ "settings": {
328
+ "foreground": "#c98a7d77"
329
+ }
330
+ },
331
+ {
332
+ "scope": [
322
333
  "punctuation.support.type.property-name"
323
334
  ],
324
335
  "settings": {
325
- "foreground": "#c98a7d99"
336
+ "foreground": "#b8a96577"
326
337
  }
327
338
  },
328
339
  {
@@ -225,7 +225,9 @@ var vitesseLight = Object.freeze({
225
225
  "meta.embedded.block.github-actions-expression",
226
226
  "storage.type.function.arrow",
227
227
  "meta.objectliteral.ts",
228
- "punctuation"
228
+ "punctuation",
229
+ "punctuation.definition.string.begin.html.vue",
230
+ "punctuation.definition.string.end.html.vue"
229
231
  ],
230
232
  "settings": {
231
233
  "foreground": "#999999"
@@ -275,7 +277,8 @@ var vitesseLight = Object.freeze({
275
277
  {
276
278
  "scope": [
277
279
  "keyword",
278
- "storage.type.class.jsdoc"
280
+ "storage.type.class.jsdoc",
281
+ "punctuation.definition.template-expression"
279
282
  ],
280
283
  "settings": {
281
284
  "foreground": "#1e754f"
@@ -287,7 +290,8 @@ var vitesseLight = Object.freeze({
287
290
  "storage.type",
288
291
  "support.type.builtin",
289
292
  "constant.language.undefined",
290
- "constant.language.null"
293
+ "constant.language.null",
294
+ "constant.language.import-export-all.ts"
291
295
  ],
292
296
  "settings": {
293
297
  "foreground": "#ab5959"
@@ -316,11 +320,18 @@ var vitesseLight = Object.freeze({
316
320
  },
317
321
  {
318
322
  "scope": [
319
- "punctuation.definition.string",
323
+ "punctuation.definition.string"
324
+ ],
325
+ "settings": {
326
+ "foreground": "#b5695977"
327
+ }
328
+ },
329
+ {
330
+ "scope": [
320
331
  "punctuation.support.type.property-name"
321
332
  ],
322
333
  "settings": {
323
- "foreground": "#b5695999"
334
+ "foreground": "#99841877"
324
335
  }
325
336
  },
326
337
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "shiki",
3
3
  "type": "module",
4
- "version": "1.11.1",
4
+ "version": "1.12.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",
@@ -93,11 +93,11 @@
93
93
  ],
94
94
  "dependencies": {
95
95
  "@types/hast": "^3.0.4",
96
- "@shikijs/core": "1.11.1"
96
+ "@shikijs/core": "1.12.0"
97
97
  },
98
98
  "devDependencies": {
99
- "tm-grammars": "^1.14.0",
100
- "tm-themes": "^1.5.6",
99
+ "tm-grammars": "^1.15.1",
100
+ "tm-themes": "^1.5.7",
101
101
  "vscode-oniguruma": "^1.7.0"
102
102
  },
103
103
  "scripts": {