1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-19 13:02:22 +02:00

reader mode -> scroll view, auto-enable below 435px width

This commit is contained in:
Hakim El Hattab
2023-10-25 13:58:06 +02:00
parent e46bad392a
commit c23964274c
16 changed files with 154 additions and 149 deletions

View File

@@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<title>reveal.js - Reader Mode</title>
<title>reveal.js - Scroll View</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
@@ -20,7 +20,7 @@
<div class="slides">
<section><h1>Reader Mode</h1></section>
<section><h1>Scroll View</h1></section>
<section data-background="indigo">
<h2>Scroll triggers</h2>
<ul>
@@ -111,7 +111,7 @@
<script src="../plugin/highlight/highlight.js"></script>
<script>
Reveal.initialize({
view: 'reader',
view: 'scroll',
hash: true,
plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ]