chore: update docs and style (#269)

This commit is contained in:
Dillon
2020-04-28 01:38:22 +08:00
committed by GitHub
parent b46c81053f
commit 6805d695f6
69 changed files with 540 additions and 454 deletions

View File

@@ -35,7 +35,7 @@ Hugo ships with a set of predefined shortcodes that represent very common usage.
## figure {#figure}
[Documentation of `figure`](https://gohugo.io/content-management/shortcodes/#figure)
[Documentation of `figure`](https://gohugo.io/content-management/shortcodes#figure)
Example `figure` input:
@@ -60,7 +60,7 @@ The HTML looks like this:
## gist
[Documentation of `gist`](https://gohugo.io/content-management/shortcodes/#gist)
[Documentation of `gist`](https://gohugo.io/content-management/shortcodes#gist)
Example `gist` input:
@@ -80,7 +80,7 @@ The HTML looks like this:
## highlight
[Documentation of `highlight`](https://gohugo.io/content-management/shortcodes/#instagram)
[Documentation of `highlight`](https://gohugo.io/content-management/shortcodes#instagram)
Example `highlight` input:
@@ -112,7 +112,7 @@ The rendered output looks like this:
## instagram
[Documentation of `instagram`](https://gohugo.io/content-management/shortcodes/#instagram)
[Documentation of `instagram`](https://gohugo.io/content-management/shortcodes#instagram)
Example `instagram` input:
@@ -126,7 +126,7 @@ The rendered output looks like this:
## param
[Documentation of `param`](https://gohugo.io/content-management/shortcodes/#param)
[Documentation of `param`](https://gohugo.io/content-management/shortcodes#param)
Example `param` input:
@@ -140,11 +140,11 @@ The rendered output looks like this:
## ref and relref {#ref-and-relref}
[Documentation of `ref` and `relref`](https://gohugo.io/content-management/shortcodes/#ref-and-relref)
[Documentation of `ref` and `relref`](https://gohugo.io/content-management/shortcodes#ref-and-relref)
## tweet
[Documentation of `tweet`](https://gohugo.io/content-management/shortcodes/#tweet)
[Documentation of `tweet`](https://gohugo.io/content-management/shortcodes#tweet)
Example `tweet` input:
@@ -158,7 +158,7 @@ The rendered output looks like this:
## vimeo
[Documentation of `vimeo`](https://gohugo.io/content-management/shortcodes/#vimeo)
[Documentation of `vimeo`](https://gohugo.io/content-management/shortcodes#vimeo)
Example `vimeo` input:
@@ -172,7 +172,7 @@ The rendered output looks like this:
## youtube
[Documentation of `youtube`](https://gohugo.io/content-management/shortcodes/#youtube)
[Documentation of `youtube`](https://gohugo.io/content-management/shortcodes#youtube)
Example `youtube` input: