simple-hugo

A simple Hugo theme I use for my website
git clone git://git.christianermann.dev/simple-hugo
Log | Files | Refs | README | LICENSE

katex.html (963B)


      1 <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.15.1/dist/katex.min.css" integrity="sha384-R4558gYOUz8mP9YWpZJjofhk+zx0AS11p36HnD2ZKj/6JR5z27gSSULCNHIRReVs" crossorigin="anonymous">
      2 
      3 <script defer src="https://cdn.jsdelivr.net/npm/katex@0.15.1/dist/katex.min.js" integrity="sha384-z1fJDqw8ZApjGO3/unPWUPsIymfsJmyrDVWC8Tv/a1HeOtGmkwNd/7xUS0Xcnvsx" crossorigin="anonymous"></script>
      4 <script defer src="https://cdn.jsdelivr.net/npm/katex@0.15.1/dist/contrib/auto-render.min.js" integrity="sha384-+XBljXPPiv+OzfbB3cVmLHf4hdUFHlWNZN5spNQ7rmHTXpd7WvJum6fIACpNNfIR" crossorigin="anonymous" onload="renderMathInElement(document.body);"></script>
      5 
      6 <script>
      7     document.addEventListener("DOMContentLoaded", function() {
      8         renderMathInElement(document.body, {
      9             delimiters: [
     10                 { left: "$$", right: "$$", display: true },
     11                 { left: "$", right: "$", display: false }
     12             ]
     13         });
     14     });
     15 </script>
     16