add reveal.js
This commit is contained in:
parent
4c093c1fad
commit
9459c25a38
|
@ -0,0 +1 @@
|
|||
node_modules/
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"name": "physics",
|
||||
"version": "1.0.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "physics",
|
||||
"version": "1.0.0",
|
||||
"license": "Unlicense",
|
||||
"dependencies": {
|
||||
"reveal.js": "^5.1.0"
|
||||
}
|
||||
},
|
||||
"node_modules/reveal.js": {
|
||||
"version": "5.1.0",
|
||||
"resolved": "https://registry.npmjs.org/reveal.js/-/reveal.js-5.1.0.tgz",
|
||||
"integrity": "sha512-KDt7m0+xwKV6nAZt4CNPVFBf42sTKRQapg0bGGKB5PKO5XvChnMfwlZkybydHiQJ7p5+6LbHKRGrhXODdoNIaA==",
|
||||
"engines": {
|
||||
"node": ">=18.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"name": "physics",
|
||||
"version": "1.0.0",
|
||||
"description": "Physics instructional tools and content",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"author": "Ladd Hoffman",
|
||||
"license": "Unlicense",
|
||||
"dependencies": {
|
||||
"reveal.js": "^5.1.0"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,40 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
|
||||
<title>Reveal.js Test</title>
|
||||
|
||||
<link rel="stylesheet" href="./node_modules/reveal.js/dist/reset.css">
|
||||
<link rel="stylesheet" href="./node_modules/reveal.js/dist/reveal.css">
|
||||
<link rel="stylesheet" href="./node_modules/reveal.js/dist/theme/white.css">
|
||||
|
||||
<!-- Theme used for syntax highlighted code -->
|
||||
<link rel="stylesheet" href="./node_modules/reveal.js/plugin/highlight/monokai.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="reveal">
|
||||
<div class="slides">
|
||||
<section>Slide 1</section>
|
||||
<section>Slide 2</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="./node_modules/reveal.js/dist/reveal.js"></script>
|
||||
<script src="./node_modules/reveal.js/plugin/notes/notes.js"></script>
|
||||
<script src="./node_modules/reveal.js/plugin/markdown/markdown.js"></script>
|
||||
<script src="./node_modules/reveal.js/plugin/highlight/highlight.js"></script>
|
||||
<script>
|
||||
// More info about initialization & config:
|
||||
// - https://revealjs.com/initialization/
|
||||
// - https://revealjs.com/config/
|
||||
Reveal.initialize({
|
||||
hash: true,
|
||||
|
||||
// Learn about plugins: https://revealjs.com/plugins/
|
||||
plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ]
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue