Skip to content

Commit

Permalink
Update emoji.md (#2034)
Browse files Browse the repository at this point in the history
* Update emoji.md

* Update emoji.md
  • Loading branch information
ab8ing authored Jul 26, 2023
1 parent 0f2c413 commit 5abb05b
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 24 deletions.
4 changes: 2 additions & 2 deletions docs/src/cookbook/customize/emoji.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,13 @@ https://example.com/my-emoji/

为链接绑定标签是十分必要的,这可以防止因修改你的预设导致历史评论引用的图片链接失效。

官方的表情包预设,就是通过创建 [walinejs/emojis](https://github.com/walinejs/emojis) 仓库,并使用 CDN 链接来实现的。目前我们正在使用 `v1.1.0` 版本。
官方的表情包预设,就是通过创建 [walinejs/emojis](https://github.com/walinejs/emojis) 仓库,并使用 CDN 链接来实现的。目前我们正在使用 `v1.2.0` 版本。

:::

::: warning

由于 cdn.jsdelivr.net 在国内受到污染,你可以将 `cdn.jsdelivr.net` 换成 `gcore.jsdelivr.net`
cdn.jsdelivr.net 可能在国内受到污染,你可以将 `cdn.jsdelivr.net` 换成 `gcore.jsdelivr.net`,或代理`cdn.jsdelivr.net`使用,

:::

Expand Down
50 changes: 28 additions & 22 deletions docs/src/en/guide/features/emoji.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,123 +15,129 @@ Waline provides a series of emoji presets that can be used out of box. You can a
- Alus

```http
https://unpkg.com/@waline/emojis@1.1.0/alus
https://unpkg.com/@waline/emojis@1.2.0/alus
```

- Bmoji

```http
https://unpkg.com/@waline/emojis@1.1.0/bmoji
https://unpkg.com/@waline/emojis@1.2.0/bmoji
```

- Bilibili

```http
https://unpkg.com/@waline/emojis@1.1.0/bilibili
https://unpkg.com/@waline/emojis@1.2.0/bilibili
```

- QQ

```http
https://unpkg.com/@waline/emojis@1.1.0/qq
https://unpkg.com/@waline/emojis@1.2.0/qq
```

- Tieba

```http
https://unpkg.com/@waline/emojis@1.1.0/tieba
https://unpkg.com/@waline/emojis@1.2.0/tieba
```

- Twemoji

- Emoji:

```http
https://unpkg.com/@waline/emojis@1.1.0/tw-emoji
https://unpkg.com/@waline/emojis@1.2.0/tw-emoji
```

::: details Others presets

- Full: (Not recommended)

```http
https://unpkg.com/@waline/emojis@1.1.0/tw
https://unpkg.com/@waline/emojis@1.2.0/tw
```

- Body:

```http
https://unpkg.com/@waline/emojis@1.1.0/tw-body
https://unpkg.com/@waline/emojis@1.2.0/tw-body
```

- Food:

```http
https://unpkg.com/@waline/emojis@1.1.0/tw-food
https://unpkg.com/@waline/emojis@1.2.0/tw-food
```

- Natural:

```http
https://unpkg.com/@waline/emojis@1.1.0/tw-natural
https://unpkg.com/@waline/emojis@1.2.0/tw-natural
```

- Object:

```http
https://unpkg.com/@waline/emojis@1.1.0/tw-object
https://unpkg.com/@waline/emojis@1.2.0/tw-object
```

- Symbol:

```http
https://unpkg.com/@waline/emojis@1.1.0/tw-symbol
https://unpkg.com/@waline/emojis@1.2.0/tw-symbol
```

- People:

```http
https://unpkg.com/@waline/emojis@1.1.0/tw-people
https://unpkg.com/@waline/emojis@1.2.0/tw-people
```

- Sport:

```http
https://unpkg.com/@waline/emojis@1.1.0/tw-sport
https://unpkg.com/@waline/emojis@1.2.0/tw-sport
```

- Time:

```http
https://unpkg.com/@waline/emojis@1.1.0/tw-time
https://unpkg.com/@waline/emojis@1.2.0/tw-time
```

- Travel:

```http
https://unpkg.com/@waline/emojis@1.1.0/tw-travel
https://unpkg.com/@waline/emojis@1.2.0/tw-travel
```

- Weather:

```http
https://unpkg.com/@waline/emojis@1.1.0/tw-weather
https://unpkg.com/@waline/emojis@1.2.0/tw-weather
```

- Flag:

```http
https://unpkg.com/@waline/emojis@1.1.0/tw-flag
https://unpkg.com/@waline/emojis@1.2.0/tw-flag
```

:::

- Weibo

```http
https://unpkg.com/@waline/emojis@1.1.0/weibo
https://unpkg.com/@waline/emojis@1.2.0/weibo
```

- Soul knight Emoji

```http
https://unpkg.com/@waline/[email protected]/soul-emoji
```

::: warning

Waline DO NOT have any copyright of above emojis, use them at your own risk.
Expand All @@ -149,10 +155,10 @@ Waline DO NOT have any copyright of above emojis, use them at your own risk.
el: '#waline',
serverURL: '<YOUR SERVER URL>',
// Set emoji to Weibo and Bilibili
// Set emoji to Weibo and Bmoji
emoji: [
'//unpkg.com/@waline/emojis@1.1.0/weibo',
'//unpkg.com/@waline/emojis@1.1.0/bilibili',
'//unpkg.com/@waline/emojis@1.2.0/weibo',
'//unpkg.com/@waline/emojis@1.2.0/bmoji',
],
});
</script>
Expand Down

0 comments on commit 5abb05b

Please sign in to comment.