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](https://private-user-images.githubusercontent.com/16124324/382565754-e82f9afd-daf8-49e8-b6a8-51b8bd21716e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg3OTY1NzMsIm5iZiI6MTczODc5NjI3MywicGF0aCI6Ii8xNjEyNDMyNC8zODI1NjU3NTQtZTgyZjlhZmQtZGFmOC00OWU4LWI2YTgtNTFiOGJkMjE3MTZlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA1VDIyNTc1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThmZjQ2Y2QwYmFhY2MxNTIwYWYzNWQxNDI1ZDYwOTUwMzNlOWQ3ZDdjM2E0ZmMyODE0YzVlMGI3MDk2Y2E3MjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.iOm3VrcIOhszQAd57JvGHcsk0FiLjRR3ecKJlB3puyI)
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.