diff --git a/src/layouts/Reveal.astro b/src/layouts/Reveal.astro index 23ac8f4..2f9eb59 100644 --- a/src/layouts/Reveal.astro +++ b/src/layouts/Reveal.astro @@ -1,5 +1,8 @@ --- import { getLangFromUrl } from '../i18n/utils' +import 'reveal.js/dist/reveal.css' +import 'reveal.js/dist/theme/white.css' +import 'reveal.js/plugin/highlight/monokai.css' interface Props { title: string; @@ -18,9 +21,6 @@ const { title } = Astro.props; {title} - - - @@ -43,7 +43,7 @@ const { title } = Astro.props; let deck = new RevealJS({ plugins: [Markdown, Highlight, Notes], slideNumber: true, - hash: true, + hash: true }); deck.initialize() .then(() => {