figure - iamgio/quarkdown GitHub Wiki

Quarkdown introduces the concept of figure, which is missing in base Markdown. A figure wraps an image and is horizontally centered.

Demo: about Quarkdown's logo

 

If a paragraph only consists of a single image (in other words: an isolated image), then it becomes a figure.

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

![...](img.png)

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

If the image contains a title attribute (wrapped in double quotes, single quotes or parentheses), it is displayed as a caption.

![Logo](quarkdown-icon.svg "The Quarkdown icon.")

The image size feature works on figures as well.

Figures can be numbered: see Numbering for further information.

⚠️ **GitHub.com Fallback** ⚠️