-
Notifications
You must be signed in to change notification settings - Fork 5
Figure and Quote Captions
Tomer Lichtash edited this page Oct 27, 2022
·
3 revisions
In ML project we provide a way to add markup to the markdown files (yes), so we can attach captions to images (which are used as figures) and quotes, in the following way:
Figure can be anything - from Text to Image. It's a semantic definition of the Figure's content. The figure's caption is automatically indexed through the document, and can be assembled like so:
<figure>
Figure With auto generated caption
</figure>
<figure caption="Custom caption %index%">
Figure With a custom caption
</figure>
---
figures:
base: 2
auto: false
template: "Figure %d of %f"
---
Quotes content are specified within a cite
tag, like so:
<blockquote>
Blockquote Content
<cite>Caption Content</cite>
</blockquote>