Sha256: 1cbfd8ff92dbfa9215f45be9ccad1eda1d2eff8155605655181fb2e51624ecb2

Contents?: true

Size: 732 Bytes

Versions: 19

Compression:

Stored size: 732 Bytes

Contents

{% if page.math %}
  <script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.11.1/katex.min.js"></script>
  <script>document.addEventListener("DOMContentLoaded", function () {
   var mathElements = document.getElementsByClassName("math");
   var macros = [];
   for (var i = 0; i < mathElements.length; i++) {
    var texText = mathElements[i].firstChild;
    if (mathElements[i].tagName == "SPAN") {
     katex.render(texText.data, mathElements[i], {
      displayMode: mathElements[i].classList.contains('display'),
      throwOnError: false,
      macros: macros,
      fleqn: false
     });
  }}});
  </script>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.11.1/katex.min.css" />
{% endif %}

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
pandoc-markdown-jekyll-theme-0.12.3 _includes/math.html
pandoc-markdown-jekyll-theme-0.12.2 _includes/math.html
pandoc-markdown-jekyll-theme-0.12.1 _includes/math.html
pandoc-markdown-jekyll-theme-0.12.0 _includes/math.html
pandoc-markdown-jekyll-theme-0.11.4 _includes/math.html
pandoc-markdown-jekyll-theme-0.11.3 _includes/math.html
pandoc-markdown-jekyll-theme-0.11.2 _includes/math.html
pandoc-markdown-jekyll-theme-0.11.1 _includes/math.html
pandoc-markdown-jekyll-theme-0.11.0 _includes/math.html
pandoc-markdown-jekyll-theme-0.10.0 _includes/math.html
pandoc-markdown-jekyll-theme-0.9.8 _includes/math.html
pandoc-markdown-jekyll-theme-0.9.7 _includes/math.html
pandoc-markdown-jekyll-theme-0.9.6 _includes/math.html
pandoc-markdown-jekyll-theme-0.9.5 _includes/math.html
pandoc-markdown-jekyll-theme-0.9.4 _includes/math.html
pandoc-markdown-jekyll-theme-0.9.3 _includes/math.html
pandoc-markdown-jekyll-theme-0.9.2 _includes/math.html
pandoc-markdown-jekyll-theme-0.9.1 _includes/math.html
pandoc-markdown-jekyll-theme-0.9.0 _includes/math.html