I gave a presentation yesterday using Remark. It was mostly successful, but there was one thing that was a little disastrous. The font was _way_ too small for people to see on the screen. Increasing the font size does nothing. I finally figured out that I can force the font to be bigger using the accessibility settings in the browser (Safari in this case).
I suggest:
Aside from these issues, Remark worked very well for me (well this and the indentation thing, but no one noticed that but me). It was super easy to write the slides, a big difference from what I've done in the past (beamer). This is the presentation if you are intereseted.
The automatic scaling is what messes with the browser zooming. I totally get your point, and I guess perhaps the most intuitive solution would be to scale the slide contents according to the browser's zoom level (if that can be detected). Then of course overflow content and scrolling could be a problem. Any ideas or suggestions on how that should be handled?
As for the default font size, #102 addresses this and more.
Btw, I added your presentation to the README listing.
Then of course overflow content and scrolling could be a problem. Any ideas or suggestions on how that should be handled?
I had this problem with the workaround I used. For my presentation, once I figured out how to make the fonts bigger, someone in the audience lent me their iPad with the presentation (at normal size), and ended up changing the minimum size dynamically during the presentation when something at the bottom of the screen was hidden. The ability to mirror the presentation in a different window was useful here as it allowed me to pull up the prefs on my display without them showing up on the projected display.
Some suggestions:
I'm going with an increased default font size for now, keeping it simple :)
I'm made a simple zoom in/out facility for remark:
I've only tested my remark-zoom on a limited number of browsers (Chrome, Firefox, Safari on Mac OS X "Yosemite"). Feel free to comment on this. Thanks!
@William-Yeh Thanks for that tool. I also noticed that it's not possible to scale contents normally using the browser zoom features. That is an accessibility issue.
Any chance that @William-Yeh's zoom feature goes upstream, @gnab? (Or is it possible to adjust font size already, and maybe I haven't noticed?)
Re @tripu :
I'm not good at CSS, and my remark-zoom still doesn't handle the zooming correctly in all cases.
I still would love to see the ability to change the font size :-)
I second @Tamriel , ability to change the font size is important.
+1
In case anyone comes across this, you can change the font size statically via
.remark-slide-content { font-size: 40px; }
I just ran into the same problem.
if you ask me, cmd-+/- to work as expected is crucial! having to edit css during a presentation isn't really an acceptable solution.
quick hack:
<style>
:root {
--font-size: 22px;
}
.remark-slide-content {
font-size: var(--font-size);
}
</style>
<script>
const root = document.documentElement;
const step = 2;
window.addEventListener('keydown', (event) => {
const fs = getComputedStyle(root).getPropertyValue('--font-size');
let val = parseFloat(fs);
if (event.metaKey && event.key === '-') {
val -= step;
root.style.setProperty('--font-size', `${val}px`);
} else if (event.metaKey && event.key === '=') {
val += step;
root.style.setProperty('--font-size', `${val}px`);
}
});
</script>
Most helpful comment
I still would love to see the ability to change the font size :-)