<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotemacs/tests/test-org-reveal-config-sizing.el, branch main</title>
<subtitle>My Emacs configuration
</subtitle>
<id>https://git.cjennings.net/dotemacs/atom?h=main</id>
<link rel='self' href='https://git.cjennings.net/dotemacs/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/'/>
<updated>2026-10-19T20:01:56+00:00</updated>
<entry>
<title>feat(reveal): left-align slide content by default</title>
<updated>2026-10-19T20:01:56+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-10-19T20:01:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=ec4638af410e0aa6c91880e0f61c835c53e633e7'/>
<id>urn:sha1:ec4638af410e0aa6c91880e0f61c835c53e633e7</id>
<content type='text'>
reveal.js centers every slide, which reads fine for a title and badly for paragraphs and lists. I left-aligned section content in the head preamble and kept the title slide and standalone images centered, where centering still reads right.
</content>
</entry>
<entry>
<title>feat(reveal): fit dense slides to the canvas instead of clipping them</title>
<updated>2026-10-19T19:32:03+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-10-19T19:32:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=1197d5ed95e244e88dfa4cd6f15f662707707147'/>
<id>urn:sha1:1197d5ed95e244e88dfa4cd6f15f662707707147</id>
<content type='text'>
reveal.js lays each slide out on a fixed canvas and clips whatever runs past the bottom. At the stock 42px font a slide held about six lines. Anything past that vanished with no sign it was missing.

I made three changes in org-reveal-config.el. The canvas is now 16:9 (1280x720), so lines wrap later. The head preamble sets a 30px base font and smaller headings through the theme's CSS variables, so any reveal 4+ theme picks them up. A script spliced in after Reveal.initialize measures every slide once reveal is ready and shrinks any that still overflows, down to a floor of half size. A slide that overflows even there gets a console warning. A slide that fits stays at full size. The script stays out of overview and print view, where reveal lays slides out differently and a measurement means nothing.

The header template now emits the same init options as the global default and turns off ^ markup, so snake_case identifiers in slide text stop exporting as subscripts. A file that already carries its own #+REVEAL_INIT_OPTIONS keeps them. The preamble and the fit script apply to every export.
</content>
</entry>
</feed>
