2022
This commit is contained in:
parent
38b32c6619
commit
dbb1d5ed19
2
LICENSE
2
LICENSE
@ -1,4 +1,4 @@
|
|||||||
Copyright (C) 2011-2021 Hakim El Hattab, http://hakim.se, and reveal.js contributors
|
Copyright (C) 2011-2022 Hakim El Hattab, http://hakim.se, and reveal.js contributors
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
@ -48,5 +48,5 @@ Want to create your presentation using a visual editor? Try the official reveal.
|
|||||||
|
|
||||||
---
|
---
|
||||||
<div align="center">
|
<div align="center">
|
||||||
MIT licensed | Copyright © 2011-2021 Hakim El Hattab, https://hakim.se
|
MIT licensed | Copyright © 2011-2022 Hakim El Hattab, https://hakim.se
|
||||||
</div>
|
</div>
|
||||||
|
30
demo.html
30
demo.html
@ -451,25 +451,23 @@ Reveal.on( 'customevent', function() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="dist/reveal.js"></script>
|
<script src="dist/reveal.js"></script>
|
||||||
<script src="plugin/zoom/zoom.js"></script>
|
|
||||||
<script src="plugin/notes/notes.js"></script>
|
|
||||||
<script src="plugin/search/search.js"></script>
|
|
||||||
<script src="plugin/markdown/markdown.js"></script>
|
|
||||||
<script src="plugin/highlight/highlight.js"></script>
|
|
||||||
<script>
|
<script>
|
||||||
|
Reveal.initialize();
|
||||||
|
|
||||||
// Also available as an ES module, see:
|
const loadScript = src => {
|
||||||
// https://revealjs.com/initialization/
|
return new Promise((resolve, reject) => {
|
||||||
Reveal.initialize({
|
const script = document.createElement('script');
|
||||||
controls: true,
|
script.type = 'text/javascript';
|
||||||
progress: true,
|
script.onload = resolve;
|
||||||
center: true,
|
script.onerror = reject;
|
||||||
hash: true,
|
script.src = src;
|
||||||
|
document.head.append(script);
|
||||||
// Learn about plugins: https://revealjs.com/plugins/
|
})
|
||||||
plugins: [ RevealZoom, RevealNotes, RevealSearch, RevealMarkdown, RevealHighlight ]
|
}
|
||||||
});
|
|
||||||
|
|
||||||
|
loadScript( 'plugin/highlight/highlight.js' ).then(() => {
|
||||||
|
Reveal.registerPlugin( RevealHighlight )
|
||||||
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
2
dist/reveal.css
vendored
2
dist/reveal.css
vendored
File diff suppressed because one or more lines are too long
2
dist/reveal.esm.js
vendored
2
dist/reveal.esm.js
vendored
File diff suppressed because one or more lines are too long
2
dist/reveal.js
vendored
2
dist/reveal.js
vendored
File diff suppressed because one or more lines are too long
@ -31,7 +31,7 @@ const banner = `/*!
|
|||||||
* ${pkg.homepage}
|
* ${pkg.homepage}
|
||||||
* MIT licensed
|
* MIT licensed
|
||||||
*
|
*
|
||||||
* Copyright (C) 2011-2021 Hakim El Hattab, https://hakim.se
|
* Copyright (C) 2011-2022 Hakim El Hattab, https://hakim.se
|
||||||
*/\n`
|
*/\n`
|
||||||
|
|
||||||
// Prevents warnings from opening too many test pages
|
// Prevents warnings from opening too many test pages
|
||||||
|
@ -33,7 +33,7 @@ export const VERSION = '4.2.1';
|
|||||||
* https://revealjs.com
|
* https://revealjs.com
|
||||||
* MIT licensed
|
* MIT licensed
|
||||||
*
|
*
|
||||||
* Copyright (C) 2011-2021 Hakim El Hattab, https://hakim.se
|
* Copyright (C) 2011-2022 Hakim El Hattab, https://hakim.se
|
||||||
*/
|
*/
|
||||||
export default function( revealElement, options ) {
|
export default function( revealElement, options ) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user