From 120a6ea8054d338fd7ac1d547036eb5043918356 Mon Sep 17 00:00:00 2001 From: Ladd Hoffman Date: Fri, 21 Jun 2024 16:59:16 -0500 Subject: [PATCH] mathjax --- mathjax.html | 23 +++++++++++++++++++++++ package-lock.json | 6 ++++++ package.json | 1 + reveal.html | 35 +++++++++++++++++++++++++++++++---- test.md | 3 +++ 5 files changed, 64 insertions(+), 4 deletions(-) create mode 100644 mathjax.html create mode 100644 test.md diff --git a/mathjax.html b/mathjax.html new file mode 100644 index 0000000..3487b14 --- /dev/null +++ b/mathjax.html @@ -0,0 +1,23 @@ + + + +MathJax AsciiMath Test Page + + + + + +

When `a != 0`, there are two solutions to `ax^2 + bx + c = 0` and +they are

+

+ `x = (-b +- sqrt(b^2-4ac))/(2a) .` +

+ + + \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 2acf3ce..6bbb91b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,9 +9,15 @@ "version": "1.0.0", "license": "Unlicense", "dependencies": { + "mathjax": "^3.2.2", "reveal.js": "^5.1.0" } }, + "node_modules/mathjax": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/mathjax/-/mathjax-3.2.2.tgz", + "integrity": "sha512-Bt+SSVU8eBG27zChVewOicYs7Xsdt40qm4+UpHyX7k0/O9NliPc+x77k1/FEsPsjKPZGJvtRZM1vO+geW0OhGw==" + }, "node_modules/reveal.js": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/reveal.js/-/reveal.js-5.1.0.tgz", diff --git a/package.json b/package.json index 7d29b31..c96e92c 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "author": "Ladd Hoffman", "license": "Unlicense", "dependencies": { + "mathjax": "^3.2.2", "reveal.js": "^5.1.0" } } diff --git a/reveal.html b/reveal.html index 00191f5..445d430 100644 --- a/reveal.html +++ b/reveal.html @@ -16,8 +16,28 @@
-
Slide 1
-
Slide 2
+
+

Slide 1

+

Content... `a = b / c`

+
+
+ +
+ +
@@ -25,15 +45,22 @@ + + diff --git a/test.md b/test.md new file mode 100644 index 0000000..237631a --- /dev/null +++ b/test.md @@ -0,0 +1,3 @@ +## Slide 3 + +Testing \ No newline at end of file