Skip to content

Commit a04b3e2

Browse files
committed
feat!: rename to shiki
1 parent 820834a commit a04b3e2

File tree

320 files changed

+999
-1679
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

320 files changed

+999
-1679
lines changed

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ lib-cov
99
logs
1010
node_modules
1111
temp
12-
packages/shikiji/src/assets/langs
13-
packages/shikiji/src/assets/themes
14-
packages/shikiji/src/assets/*.json
12+
packages/shiki/src/assets/langs
13+
packages/shiki/src/assets/themes
14+
packages/shiki/src/assets/*.json
1515
cache

.gitmodules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
[submodule "packages/shikiji-core/vendor/vscode-textmate"]
2-
path = packages/shikiji-core/vendor/vscode-textmate
1+
[submodule "packages/core/vendor/vscode-textmate"]
2+
path = packages/core/vendor/vscode-textmate
33
url = https://github.com/microsoft/vscode-textmate

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,8 @@
3737
"jsonc",
3838
"yaml"
3939
],
40-
"references.preferredLocation": "peek"
40+
"references.preferredLocation": "peek",
41+
"cSpell.words": [
42+
"shikijs"
43+
]
4144
}

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Please refer to https://github.com/antfu/contribute
77
This repository contains a [git submodule](https://git-scm.com/book/en/v2/Git-Tools-Submodules) to `vscode-textmate`. By default `git clone` does not clone submodules. To clone this repository and its submodules, use:
88

99
```bash
10-
git clone --recursive https://github.com/antfu/shikiji
10+
git clone --recursive https://github.com/shikijs/shiki
1111
```
1212

1313
Or if you have already cloned it, use:

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
<img src="https://raw.githubusercontent.com/antfu/shikiji/main/docs/public/logo.svg" width="150" alt="Shikiji Logo" />
1+
<img src="https://raw.githubusercontent.com/shikijs/shiki/main/docs/public/logo.svg" width="150" alt="Shiki Logo" />
22

3-
# Shikiji 式辞
3+
# Shiki 式
44

5-
[![NPM version](https://img.shields.io/npm/v/shikiji?color=32A9C3&labelColor=1B3C4A&label=npm)](https://www.npmjs.com/package/shikiji)
6-
[![NPM downloads](https://img.shields.io/npm/dm/shikiji?color=32A9C3&labelColor=1B3C4A&label=downloads)](https://www.npmjs.com/package/shikiji)
7-
[![Codecov](https://img.shields.io/codecov/c/github/antfu/shikiji?token=B85J0E2I7I&style=flat&labelColor=1B3C4A&color=32A9C3&precision=1)](https://app.codecov.io/gh/antfu/shikiji)
5+
[![NPM version](https://img.shields.io/npm/v/shiki?color=32A9C3&labelColor=1B3C4A&label=npm)](https://www.npmjs.com/package/shiki)
6+
[![NPM downloads](https://img.shields.io/npm/dm/shiki?color=32A9C3&labelColor=1B3C4A&label=downloads)](https://www.npmjs.com/package/shiki)
7+
[![Codecov](https://img.shields.io/codecov/c/github/shikijs/shiki?token=B85J0E2I7I&style=flat&labelColor=1B3C4A&color=32A9C3&precision=1)](https://app.codecov.io/gh/shikijs/shiki)
88

9-
An ESM-focused rewrite of [shiki](https://github.com/shikijs/shiki), a beautiful syntax highlighter based on TextMate grammars, with more features and capabilities.
9+
A beautiful syntax highlighter based on TextMate grammars, accurate and powerful.
1010

11-
[📚 **Documentation**](https://shikiji.netlify.app)
11+
[📚 **Documentation**](https://shiki.netlify.app)
1212

1313
## License
1414

docs/.vitepress/components/Badges.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ defineProps<{
88
<p flex="~ gap-2" h-5>
99
<a :href="`https://www.npmjs.com/package/${name}`" target="_blank"><img :src="`https://img.shields.io/npm/v/${name}?color=32A9C3&amp;labelColor=1B3C4A&amp;label=npm`" alt="NPM version"></a>
1010
<a :href="`https://www.npmjs.com/package/${name}`" target="_blank"><img :src="`https://img.shields.io/npm/dm/${name}?color=32A9C3&amp;labelColor=1B3C4A&amp;label=downloads`" alt="NPM downloads"></a>
11-
<a :href="`https://github.com/antfu/shikiji/tree/main/packages/${name}`" target="_blank"><img src="https://img.shields.io/badge/source-a?logo=github&color=1B3C4A" alt="GitHub"></a>
11+
<a :href="`https://github.com/shikijs/shiki/tree/main/packages/${name}`" target="_blank"><img src="https://img.shields.io/badge/source-a?logo=github&color=1B3C4A" alt="GitHub"></a>
1212
</p>
1313
</template>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
22
<div class="container max-w-250 mx-a my-10 min-h-250 vp-doc p4" of-hidden>
3-
<ShikijiMiniPlayground />
3+
<ShikiMiniPlayground />
44
</div>
55
</template>

docs/.vitepress/components/LanguagesList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const langs = computed(() => {
6262
</table>
6363
<div v-if="showModel" fixed inset-0 z-100 flex items-center justify-center>
6464
<div bg-black:50 absolute inset-0 backdrop-blur-sm @click="showModel = false" />
65-
<ShikijiMiniPlayground max-h-80vh w-full md:w-150 lg:w-200 />
65+
<ShikiMiniPlayground max-h-80vh w-full md:w-150 lg:w-200 />
6666
</div>
6767
</div>
6868
</template>

docs/.vitepress/components/ShikijiPlayground.vue renamed to docs/.vitepress/components/ShikiPlayground.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const play = usePlayground()
88
<div class="vp-doc">
99
<div grid="~ cols-2 gap-4" p4>
1010
<textarea v-model="play.input" font-mono rounded p4 my4.5 />
11-
<ShikijiMiniPlayground />
11+
<ShikiMiniPlayground />
1212
</div>
1313
</div>
1414
</template>

0 commit comments

Comments
 (0)