index.html 919 Bytes
Newer Older
Éloïs's avatar
Éloïs committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
<!DOCTYPE html>
<html>

<head>
  <title>Rustkathon 1 : Écosystème technique de la Ğ1</title>
  <meta charset="utf-8">
  <link rel="stylesheet" href="../../common.css">
  <link rel="stylesheet" href="../../lib/mermaid.dark.css">
</head>

<body>
  <textarea id="source"></textarea>
  <script src="../../lib/mermaid.min.js"></script>
  <script src="../../lib/remark-latest.min.js"></script>
  <script>
    var slideshow = remark.create({
      sourceUrl: 'markdown.md',
      highlightStyle: 'tomorrow-night',
      countIncrementalSlides: false
    });
    // don't let mermaid automatically load on start
    mermaid.initialize({
      startOnLoad: false,
      cloneCssStyles: false
    });

    slideshow.on("afterShowSlide", s => {
      const [slide] = document.getElementsByClassName("remark-visible");
      mermaid.init(Array.from(slide.getElementsByClassName("mermaid")));
    });
  </script>
</body>

</html>