MyST-Parser icon indicating copy to clipboard operation
MyST-Parser copied to clipboard

Allow for clickable, higher resolution figures

Open fmaussion opened this issue 1 year ago • 1 comments

Context

In jupyter books, it would be great to have the opportunity to have clickable figures using HTML syntax.

Proposal

The suggested syntax could be:

:::{figure-md} global-fig
<a href="img/global_map_large.jpeg"><img src="img/global_map_small.jpeg" alt="global map" class="bg-primary mb-1"></a>

A map. click for a high resolution image.
:::

Tasks and updates

No response

fmaussion avatar Jan 07 '23 09:01 fmaussion

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:

welcome[bot] avatar Jan 07 '23 09:01 welcome[bot]