Comments under pictures #239
-
Hi ! How can i add text under picture without html ? (yeah ik it is problably a dumb question but i can't find any source) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I caught as that it was perhaps meaning image caption. As described in the below post, using If you really want the caption comment without html, you have to style a text placed after image treated as the caption. If you're using Marp CLI, you also can try to use a markdown-it plugin like markdown-it-implicit-figures and markdown-it-image-figures. They can generate In any case, you have to define the style in custom theme CSS or inline style to get better looking caption. |
Beta Was this translation helpful? Give feedback.
I caught as that it was perhaps meaning image caption.
As described in the below post, using
<figcaption>
HTML tag is exactly correct way from a view of both semantics of Markdown and HTML. We recommend to follow the standard approach due to making less compatibility as the Markdown document.👉 Captions in Markdown | theSynAck
If you really want the caption comment without html, you have to style a text placed after image treated as the caption. If you're using Marp CLI, you also can try to use a markdown-it plugin like markdown-it-implicit-figures and markdown-it-image-figures. They can generate
<figcaption>
from the title for Markdown image.In any case, you have to define the style in …