remark-oembed
Version:
Converts URLs surrounded by newlines into embeds that are loaded asynchronously
20 lines (19 loc) • 566 B
HTML
<p>Hey this is a nice photo:</p>
<div class="remark-oembed-inline remark-oembed-flickr" data-oembed>
<a
data-flickr-embed="true"
href="https://www.flickr.com/photos/pedrocaetano/27432477888/"
title="Leiria by night by Pedro Nuno Caetano, on Flickr"
><img
src="https://live.staticflickr.com/872/27432477888_8236c59e1d_b.jpg"
width="1024"
height="678"
alt="Leiria by night"
/></a>
<script
async
src="https://embedr.flickr.com/assets/client-code.js"
charset="utf-8"
></script>
</div>
<p>Check it out 👆</p>