-
Notifications
You must be signed in to change notification settings - Fork 4
Migrating to reveal.js 3.0.0
This is a draft, 3.0.0 is not yet released.
reveal.js 3.0.0 is structurally not dramatically different than the 2.X.X versions but there have been some changes worth pointing out.
The original reveal.js theme has been replaced with a new theme called 'black'. The previous default theme is now called 'league'. To change back to the old default replace the following in index.html:
<link rel="stylesheet" href="css/theme/black.css" id="theme">
with
<link rel="stylesheet" href="css/theme/league.css" id="theme">
A sliding transition replaces the previous 3D rotation effect. If you want to stick to the old transition you'll need to specify transition: concave
when initializing reveal.js.
Presentations now automatically scale up to fill more of the browser viewport. The aspect ratio of your content will be maintained so there should be no change in layout. If you wish to turn this off include maxScale: 1
when initializing reveal.js.
reveal.min.js and reveal.min.css are no longer tracked in the repository, to generate them you'll need to have Grunt running locally. This is covered in the readme.