Markdown Figure Directive#

This is a .md file with figure directive. The example thumbnail is selected with figure directive alt option being set to gallery_thumbnail.

without alt text#

```{figure} /_static/barchart.png
   :align: center
   :width: 60%

This is the caption of the figure (a simple paragraph).
```
../../_images/barchart.png

This is the caption of the figure (a simple paragraph).#

alt set to a random text#

```{figure} /_static/bar_colors.png
   :align: center
   :alt: a random text
   :width: 60%

This is the caption of the figure (a simple paragraph).
```
a random text

This is the caption of the figure (a simple paragraph).#