I'm using reveal.js to present screenshots, but the images are not displayed at size 100%.
My bet is that there is a «zoom» trick, as the inspector shows:
<div class="slides" style="-snip- zoom: 0.5001428571428572;">
But that I can't prevent it to occur. Is there a configuration option, a js hack for this?
Here is a slide where I'd like my 800×600 image to display 800×600: http://profgra.org/lycee/presentation_demo.html#/2
Thanks!
Thanks to Cvuorinen, here is the complete answer:
Reveal.initialize({
...
// Bounds for smallest/largest possible scale to apply to content
minScale: 1,
maxScale: 1
});
Though it seems difficult to trig this only on some precise slides if they are embedded in the page via Markdown.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With