Fix a figure rendering issue in docs/test.md
parent
47165fff3a
commit
6bf2229de2
|
@ -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
|
also be a hyperlink, use the `link` attribute, rather than wrapping the whole
|
||||||
figure in Markdown link syntax as shown below.
|
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;">
|
<div style="text-align: center;">
|
||||||
{{< figure src="/images/pencil.png" title="Pencil icon" caption="An image used to illustrate the figure shortcode" width="200px" >}}
|
{{< figure src="/images/pencil.png" title="Pencil icon" caption="An image used to illustrate the figure shortcode" width="200px" >}}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue