Merge branch 'develop' into dependabot/npm_and_yarn/tar-4.4.19

This commit is contained in:
Dillon 2022-02-08 19:55:53 +08:00 committed by GitHub
commit db24015bbb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 6220 additions and 71 deletions

View file

View file

@ -24,7 +24,7 @@ This article offers a sample of basic Markdown syntax that can be used in Hugo c
{{< admonition >}} {{< admonition >}}
This article is a shameful copy of the great [Grav original page](http://learn.getgrav.org/content/markdown). This article is a shameful copy of the great [Grav original page](http://learn.getgrav.org/content/markdown).
If you want to know about the extented Markdown syntax of **LoveIt** theme, please read [extended Markdown syntax page](../theme-documentation-content#extended-markdown-syntax). If you want to know about the extended Markdown syntax of **LoveIt** theme, please read [extended Markdown syntax page](../theme-documentation-content#extended-markdown-syntax).
{{< /admonition >}} {{< /admonition >}}
Let's face it: Writing content for the Web is tiresome. WYSIWYG editors help alleviate this task, but they generally result in horrible code, or worse yet, ugly web pages. Let's face it: Writing content for the Web is tiresome. WYSIWYG editors help alleviate this task, but they generally result in horrible code, or worse yet, ugly web pages.

View file

@ -29,7 +29,7 @@ Welcome to take the time to propose a translation by [:(fas fa-code-branch fa-fw
{{< admonition >}} {{< admonition >}}
This article is a shameful copy of the great [Grav original page](http://learn.getgrav.org/content/markdown). This article is a shameful copy of the great [Grav original page](http://learn.getgrav.org/content/markdown).
If you want to know about the extented Markdown syntax of **LoveIt** theme, please read [extended Markdown syntax page](../theme-documentation-content#extended-markdown-syntax). If you want to know about the extended Markdown syntax of **LoveIt** theme, please read [extended Markdown syntax page](../theme-documentation-content#extended-markdown-syntax).
{{< /admonition >}} {{< /admonition >}}
Let's face it: Writing content for the Web is tiresome. WYSIWYG editors help alleviate this task, but they generally result in horrible code, or worse yet, ugly web pages. Let's face it: Writing content for the Web is tiresome. WYSIWYG editors help alleviate this task, but they generally result in horrible code, or worse yet, ugly web pages.

View file

@ -111,15 +111,11 @@ The rendered output looks like this:
[Documentation of `instagram`](https://gohugo.io/content-management/shortcodes#instagram) [Documentation of `instagram`](https://gohugo.io/content-management/shortcodes#instagram)
Example `instagram` input: {{< admonition question "Instagrams API was deprecated since October 24th, 2020" >}}
The instagram-shortcode refers an endpoint of Instagrams API, thats deprecated since October 24th, 2020.
```markdown Thus, no images can be fetched from this API endpoint, resulting in an error when the instagram-shortcode is used.
{{</* instagram BWNjjyYFxVx hidecaption */>}} For more information please have a look at GitHub issue [#7879](https://github.com/gohugoio/hugo/issues/7879).
``` {{< /admonition >}}
The rendered output looks like this:
{{< instagram BWNjjyYFxVx hidecaption >}}
## 5 param ## 5 param
@ -146,12 +142,12 @@ The rendered output looks like this:
Example `tweet` input: Example `tweet` input:
```markdown ```markdown
{{</* tweet 877500564405444608 */>}} {{</* tweet 917359331535966209 */>}}
``` ```
The rendered output looks like this: The rendered output looks like this:
{{< tweet 877500564405444608 >}} {{< tweet 917359331535966209 >}}
## 8 vimeo ## 8 vimeo

View file

@ -116,15 +116,11 @@ The rendered output looks like this:
[Documentation of `instagram`](https://gohugo.io/content-management/shortcodes#instagram) [Documentation of `instagram`](https://gohugo.io/content-management/shortcodes#instagram)
Example `instagram` input: {{< admonition question "Instagrams API was deprecated since October 24th, 2020" >}}
The instagram-shortcode refers an endpoint of Instagrams API, thats deprecated since October 24th, 2020.
```markdown Thus, no images can be fetched from this API endpoint, resulting in an error when the instagram-shortcode is used.
{{</* instagram BWNjjyYFxVx hidecaption */>}} For more information please have a look at GitHub issue [#7879](https://github.com/gohugoio/hugo/issues/7879).
``` {{< /admonition >}}
The rendered output looks like this:
{{< instagram BWNjjyYFxVx hidecaption >}}
## 5 param ## 5 param
@ -151,12 +147,12 @@ The rendered output looks like this:
Example `tweet` input: Example `tweet` input:
```markdown ```markdown
{{</* tweet 877500564405444608 */>}} {{</* tweet 917359331535966209 */>}}
``` ```
The rendered output looks like this: The rendered output looks like this:
{{< tweet 877500564405444608 >}} {{< tweet 917359331535966209 >}}
## 8 vimeo ## 8 vimeo

View file

@ -112,15 +112,11 @@ Hugo 附带了一组预定义的 shortcodes, 它们实现了一些非常常见
[`instagram` 的文档](https://gohugo.io/content-management/shortcodes#instagram) [`instagram` 的文档](https://gohugo.io/content-management/shortcodes#instagram)
一个 `instagram` 示例: {{< admonition question "Instagrams API was deprecated since October 24th, 2020" >}}
The instagram-shortcode refers an endpoint of Instagrams API, thats deprecated since October 24th, 2020.
```markdown Thus, no images can be fetched from this API endpoint, resulting in an error when the instagram-shortcode is used.
{{</* instagram BWNjjyYFxVx hidecaption */>}} For more information please have a look at GitHub issue [#7879](https://github.com/gohugoio/hugo/issues/7879).
``` {{< /admonition >}}
呈现的输出效果如下:
{{< instagram BWNjjyYFxVx hidecaption >}}
## 5 param ## 5 param
@ -147,12 +143,12 @@ Hugo 附带了一组预定义的 shortcodes, 它们实现了一些非常常见
一个 `tweet` 示例: 一个 `tweet` 示例:
```markdown ```markdown
{{</* tweet 877500564405444608 */>}} {{</* tweet 917359331535966209 */>}}
``` ```
呈现的输出效果如下: 呈现的输出效果如下:
{{< tweet 877500564405444608 >}} {{< tweet 917359331535966209 >}}
## 8 vimeo ## 8 vimeo

6231
package-lock.json generated

File diff suppressed because it is too large Load diff