Newer
Older
presentation / src / index.js
@lukas lukas on 29 Nov 2022 650 bytes initial commit
import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import App from './App';
import reportWebVitals from './reportWebVitals';

import Reveal from 'reveal.js';
import Markdown from 'reveal.js/plugin/markdown/markdown.esm.js';
import RevealMath from 'reveal.js/plugin/math/math.esm.js'

import 'reveal.js/css/reveal.scss';
import 'reveal.js/dist/theme/moon.css'

let deck = new Reveal({
   plugins: [ Markdown, RevealMath.MathJax3 ]
})
deck.initialize();

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
  <React.StrictMode>
    <App />
  </React.StrictMode>
);

reportWebVitals();