Fix a figure rendering issue in docs/test.md

pull/49680/head
windsonsea 2025-02-08 11:23:23 +08:00
parent 47165fff3a
commit 6bf2229de2
1 changed files with 0 additions and 8 deletions

View File

@ -298,14 +298,6 @@ which is preferred to using a HTML `<img>` tag. Also, if you need the image to
also be a hyperlink, use the `link` attribute, rather than wrapping the whole
figure in Markdown link syntax as shown below.
```markdown
<div style="text-align: center;">
{{< figure src="/images/pencil.png" title="Pencil icon" caption="An image used to illustrate the figure shortcode" width="200px" >}}
</div>
```
Produces:
<div style="text-align: center;">
{{< figure src="/images/pencil.png" title="Pencil icon" caption="An image used to illustrate the figure shortcode" width="200px" >}}
</div>