docs: improve version used for docs (#188)

This commit is contained in:
Dillon
2020-03-19 16:54:47 +08:00
committed by GitHub
parent 774e831a21
commit a9850f7df3
15 changed files with 82 additions and 47 deletions

View File

@@ -228,9 +228,7 @@ This is a right-aligned paragraph.
### `link`
{{< admonition warning >}}
{{< version 0.2.0 >}}
{{< /admonition >}}
`link` shortcode is an alternative to [Markdown link syntax](../basic-markdown-syntax/#links). `link` shortcode can provide some other features and can be used in code blocks.
@@ -294,6 +292,8 @@ The rendered output looks like this (hover over the link, there should be a tool
### `image`
{{< version 0.2.0 changed >}}
`image` shortcode is an alternative to [`figure` shortcode](#figure). `image` shortcode can take full advantage of the dependent libraries of [lazysizes](https://github.com/aFarkas/lazysizes) and [lightgallery.js](https://github.com/sachinchoolur/lightgallery.js).
The `image` shortcode has the following named parameters: