-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Click on images to zoom #449
Comments
Beyond the width of the image (which stays within the current column), you can change the column for the entire figure to take over the margin/page/screen with:
You can also do that for a block of content using:
This does overlap/interfere with the document outline at the moment, so less documented at the moment. There is a full list of column classes here: |
Thanks a lot! How would I use that within a jupyter notebook that i include? (for the outputs of the code cells) Thanks! |
For the outputs, you should be able to use the figure directive again:
It may also be possible to add to the cell metadata to add a class, but I am not sure if that is hooked up and haven't tested! There is not really a global config yet, there is the ability to switch between |
That would be if I include the output again, right? oh, just adding that to the meta-data of the cell would be great! You mean with a tag? Like site-wide and per-page options would be just amazing 🥳 |
wow, that does a pretty great job 🥳 thank you soo much! now i also see the overlap of the outline with the content :/ the main problem here is that the background of the outline is transparent which makes the look not that nice. I'd guess if the outline get's long it would also get problematic 🤔 a site wide config for the content width would I think solve all that 🤔 also, setting the width for certain pages would be really nice 🤔 |
Images with quite a lot of details or a wide aspect ratio are hard to see as they don't fit that well within the width of content column.
Proposal
Would it be possible to show on-click a full-screen overlay with the image?
Besides that, would it be possible to add an option to control the width of the content column?
Additional notes
Thanks!
The text was updated successfully, but these errors were encountered: