hotosm / hotosm-website

The website of the Humanitarian OpenStreetMap Team. See instructions below for writing blog posts or updating your profile.
https://www.hotosm.org
66 stars 99 forks source link

Create standard way to add captions to images + embedded content #378

Open TylerRadford opened 5 years ago

TylerRadford commented 5 years ago

Currently italicized text immediately following an image is styled as an image caption: .article img + em { font-size: 0.8125rem; font-weight: bold; color: #68707F; }

Sometimes we want to caption other types of embedded content (e.g. a tweet) or not use this default style. Can we create an easier way for users to apply or un-apply the style? That could be applied using Markdown in Siteleaf or basic tag such as <em class="caption">caption</em>

Muskan284 commented 5 years ago

@TylerRadford @ramyaragupathy can i work on this issue?

Muskan284 commented 5 years ago

@TylerRadford @ramyaragupathy can u elaborate this issue?