Zoom feature for diagrams and charts (Mermaid, etc) in Quarto HTML (lightbox click to zoom and drag) #14458
MurzNN
started this conversation in
Feature Requests
Replies: 1 comment 2 replies
-
|
Lightbox and mermaid are two third party JavaScript libraries. Note that you can use You can also create your own Quarto extension implementing whatever custom solution you want. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Charts pretty often contain a lot of elements, so when Quarto renders them using full width, usually the elements and text become too small to read. Therefore, we should provide the ability to zoom in and drag the diagrams and charts, to allow readers to read the content.
Would be great to implement this by reusing the lightbox feature, which is already available for images, so display in the document a small thumbnail of the diagram, with the ability to click to zoom in on a modal window.
Beta Was this translation helpful? Give feedback.
All reactions