Sha256: 55132ea449388d0fba490d45fb0f1a6d059de0aa0b58731b5f24031fd4c2f7cb

Contents?: true

Size: 940 Bytes

Versions: 7

Compression:

Stored size: 940 Bytes

Contents

<!doctype html>
<html>
  <head>
    <title>Huxley test</title>
    <script src="/katex.js" type="text/javascript"></script>
    <link href="/katex.css" rel="stylesheet" type="text/css">
    <style type="text/css">
      #math, #pre, #post {
        font-size: 4em;
      }
    </style>
  </head>
  <body>
    <span id="pre"></span>
    <span id="math"></span>
    <span id="post"></span>
    <script type="text/javascript">
      var query = {};
      var queryVars = window.location.search.slice(1).split("&");
      for (var i = 0; i < queryVars.length; i++) {
        var split = queryVars[i].split("=");
        query[split[0]] = decodeURIComponent(split[1]);
      }
      var mathNode = document.getElementById("math");
      katex.render(query["m"], mathNode);
      document.getElementById("pre").innerHTML = query["pre"] || "";
      document.getElementById("post").innerHTML = query["post"] || "";
    </script>
  </body>
</html>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hyhyhy-1.0.0 lib/hyhyhy/structure/_includes/katex/test/huxley/test.html
hyhyhy-0.0.9 lib/hyhyhy/structure/_includes/katex/test/huxley/test.html
hyhyhy-0.0.8 lib/hyhyhy/structure/_includes/katex/test/huxley/test.html
hyhyhy-0.0.7 lib/hyhyhy/structure/_includes/katex/test/huxley/test.html
hyhyhy-0.0.6 lib/hyhyhy/structure/_includes/katex/test/huxley/test.html
hyhyhy-0.0.5 lib/hyhyhy/structure/_includes/katex/test/huxley/test.html
hyhyhy-0.0.4 lib/hyhyhy/structure/_includes/katex/test/huxley/test.html