Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add warn for bundled tags which deleted in v7.0.0 #1948

Merged
merged 4 commits into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions source/_data/plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,13 @@
- official
- generator
- tag
- name: hexo-tag-embed
description: Embed tags (Gists, Viemo, jsFiddle, Youtube) for Hexo.
link: https://github.com/hexojs/hexo-tag-embed
tags:
- official
- generator
- tag
- name: hexo-generator-index
description: Index generator plugin for Hexo.
link: https://github.com/hexojs/hexo-generator-index
Expand Down
24 changes: 20 additions & 4 deletions source/docs/tag-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,15 +166,23 @@ content
{% endpullquote %}
```

## jsFiddle
## jsFiddle (deleted in `v7.0.0`)

{% note warn %}
Please use [hexo-tag-embed](https://github.com/hexojs/hexo-tag-embed) instead if you use `v7.0.0+`.
{% endnote %}
yoshinorin marked this conversation as resolved.
Show resolved Hide resolved

To embed a jsFiddle snippet:

```
{% jsfiddle shorttag [tabs] [skin] [width] [height] %}
```

## Gist
## Gist (deleted in `v7.0.0`)

{% note warn %}
Please use [hexo-tag-embed](https://github.com/hexojs/hexo-tag-embed) instead if you use `v7.0.0+`.
{% endnote %}

To embed a Gist snippet:

Expand Down Expand Up @@ -246,7 +254,11 @@ Inserts code snippets in `source/downloads/code` folder. The folder location can
{% include_code lang:javascript to:8 test.js %}
```

## YouTube
## YouTube (deleted in `v7.0.0`)

{% note warn %}
Please use [hexo-tag-embed](https://github.com/hexojs/hexo-tag-embed) instead if you use `v7.0.0+`.
{% endnote %}

Inserts a YouTube video.

Expand Down Expand Up @@ -277,7 +289,11 @@ YouTube's cookie is not used in this mode.
{% youtube PL9hW1uS6HUfscJ9DHkOSoOX45MjXduUxo 'playlist' false %}
```

## Vimeo
## Vimeo (deleted in `v7.0.0`)

{% note warn %}
Please use [hexo-tag-embed](https://github.com/hexojs/hexo-tag-embed) instead if you use `v7.0.0+`.
{% endnote %}

Inserts a responsive or specified size Vimeo video.

Expand Down
24 changes: 20 additions & 4 deletions source/ru/docs/tag-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,15 +164,23 @@ content
{% endpullquote %}
```

## jsFiddle
## jsFiddle (deleted in `v7.0.0`)

{% note warn %}
Please use [hexo-tag-embed](https://github.com/hexojs/hexo-tag-embed) instead if you use `v7.0.0+`.
{% endnote %}

Размещает фрагмент с jsFiddle:

```
{% jsfiddle shorttag [tabs] [skin] [width] [height] %}
```

## Gist
## Gist (deleted in `v7.0.0`)

{% note warn %}
Please use [hexo-tag-embed](https://github.com/hexojs/hexo-tag-embed) instead if you use `v7.0.0+`.
{% endnote %}

Размещает фрагмент с Gist:

Expand Down Expand Up @@ -212,7 +220,11 @@ content
{% include_code [title] [lang:language] path/to/file %}
```

## YouTube
## YouTube (deleted in `v7.0.0`)

{% note warn %}
Please use [hexo-tag-embed](https://github.com/hexojs/hexo-tag-embed) instead if you use `v7.0.0+`.
{% endnote %}

Вставка видео с YouTube.

Expand Down Expand Up @@ -243,7 +255,11 @@ YouTube's cookie is not used in this mode.
{% youtube PL9hW1uS6HUfscJ9DHkOSoOX45MjXduUxo 'playlist' false %}
```

## Vimeo
## Vimeo (deleted in `v7.0.0`)

{% note warn %}
Please use [hexo-tag-embed](https://github.com/hexojs/hexo-tag-embed) instead if you use `v7.0.0+`.
{% endnote %}

Вставка видео с Vimeo.

Expand Down
24 changes: 20 additions & 4 deletions source/zh-cn/docs/tag-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,15 +164,23 @@ content
{% endpullquote %}
```

## jsFiddle
## jsFiddle (deleted in `v7.0.0`)

{% note warn %}
Please use [hexo-tag-embed](https://github.com/hexojs/hexo-tag-embed) instead if you use `v7.0.0+`.
{% endnote %}

在文章中嵌入 jsFiddle。

```
{% jsfiddle shorttag [tabs] [skin] [width] [height] %}
```

## Gist
## Gist (deleted in `v7.0.0`)

{% note warn %}
Please use [hexo-tag-embed](https://github.com/hexojs/hexo-tag-embed) instead if you use `v7.0.0+`.
{% endnote %}

在文章中嵌入 Gist。

Expand Down Expand Up @@ -244,7 +252,11 @@ content
{% include_code lang:javascript to:8 test.js %}
```

## Youtube
## Youtube (deleted in `v7.0.0`)

{% note warn %}
Please use [hexo-tag-embed](https://github.com/hexojs/hexo-tag-embed) instead if you use `v7.0.0+`.
{% endnote %}

在文章中插入 Youtube 视频。

Expand Down Expand Up @@ -275,7 +287,11 @@ content
{% youtube PL9hW1uS6HUfscJ9DHkOSoOX45MjXduUxo 'playlist' false %}
```

## Vimeo
## Vimeo (deleted in `v7.0.0`)

{% note warn %}
Please use [hexo-tag-embed](https://github.com/hexojs/hexo-tag-embed) instead if you use `v7.0.0+`.
{% endnote %}

在文章中插入 Vimeo 视频。

Expand Down
24 changes: 20 additions & 4 deletions source/zh-tw/docs/tag-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,15 +160,23 @@ content
{% endpullquote %}
```

## jsFiddle
## jsFiddle (deleted in `v7.0.0`)

{% note warn %}
Please use [hexo-tag-embed](https://github.com/hexojs/hexo-tag-embed) instead if you use `v7.0.0+`.
{% endnote %}

在文章中嵌入 jsFiddle。

```
{% jsfiddle shorttag [tabs] [skin] [width] [height] %}
```

## Gist
## Gist (deleted in `v7.0.0`)

{% note warn %}
Please use [hexo-tag-embed](https://github.com/hexojs/hexo-tag-embed) instead if you use `v7.0.0+`.
{% endnote %}

在文章中嵌入 Gist。

Expand Down Expand Up @@ -208,7 +216,11 @@ content
{% include_code [title] [lang:language] path/to/file %}
```

## Youtube
## Youtube (deleted in `v7.0.0`)

{% note warn %}
Please use [hexo-tag-embed](https://github.com/hexojs/hexo-tag-embed) instead if you use `v7.0.0+`.
{% endnote %}

在文章中插入 Youtube 影片。

Expand Down Expand Up @@ -239,7 +251,11 @@ content
{% youtube PL9hW1uS6HUfscJ9DHkOSoOX45MjXduUxo 'playlist' false %}
```

## Vimeo
## Vimeo (deleted in `v7.0.0`)

{% note warn %}
Please use [hexo-tag-embed](https://github.com/hexojs/hexo-tag-embed) instead if you use `v7.0.0+`.
{% endnote %}

在文章中插入 Vimeo 影片。

Expand Down