this is for holding javascript data
Beni Cherniavsky-Paskin Inspired by
http://willdrevo.com/latex-equation-rendering-in-javascript-with-jekyll-and-katex/
over 9 years ago
Commit id: ebbe951b1b87801162a3aa0e7a7bf55102152411
deletions | additions
diff --git a/README.md b/README.md
index 7f0d65f..ad07ef8 100644
--- a/README.md
+++ b/README.md
...
README processed by Jekyll into https://cben.github.io/sandbox/README
MathJax loaded in output via Jekyll template
`_layouts/math.html`. `_layouts/default.html`.
Delimiters [recognized by kramdown](http://kramdown.gettalong.org/syntax.html#math-blocks):
diff --git a/_layouts/katex.html b/_layouts/katex.html
new file mode 100644
index 0000000..d25cc22
--- /dev/null
+++ b/_layouts/katex.html
...
{{ content }}
diff --git a/katex.md b/katex.md
new file mode 100644
index 0000000..0e67fd8
--- /dev/null
+++ b/katex.md
...
---
layout: katex
---
Test kramdown math -> KaTeX rendering
=====================================
Processed by Jekyll into https://cben.github.io/sandbox/katex
KaTeX loaded in output via Jekyll template `_layouts/katex.html`.
Delimiters [recognized by kramdown](http://kramdown.gettalong.org/syntax.html#math-blocks):
inline $$ \frac{kram}{down} \sum_0^\infty $$ ?
$$ \frac{kram}{down} \sum_0^\infty $$
The second is display math because it occurs alone in a block.