From e3497057288a70dd1dc14484cb1e258293b4e37c Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Mon, 18 Mar 2024 12:34:20 -0700 Subject: [PATCH] Remove old test scripts --- test/browser.js | 84 ------------------------------------------------- test/index.html | 39 ----------------------- 2 files changed, 123 deletions(-) delete mode 100644 test/browser.js delete mode 100644 test/index.html diff --git a/test/browser.js b/test/browser.js deleted file mode 100644 index 311fd19..0000000 --- a/test/browser.js +++ /dev/null @@ -1,84 +0,0 @@ -var md = require('markdown-it')(), - mk = require('./src/index'); - -md.use(mk); - -var input = document.getElementById('input'), - output = document.getElementById('output'), - button = document.getElementById('button'); - -button.addEventListener('click', function(ev){ - - var result = md.render(input.value); - - output.innerHTML = result; - -}); - -/* - -# Some Math - -$\sqrt{3x-1}+(1+x)^2$ - -# Maxwells Equations - -$\nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} -= \frac{4\pi}{c}\vec{\mathbf{j}} \nabla \cdot \vec{\mathbf{E}} = 4 \pi \rho$ - -$\nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} = \vec{\mathbf{0}}$ (curl of $\vec{\mathbf{E}}$ is proportional to the time derivative of $\vec{\mathbf{B}}$) - -$\nabla \cdot \vec{\mathbf{B}} = 0$ - - - -\sqrt{3x-1}+(1+x)^2 - -c = \pm\sqrt{a^2 + b^2} - -Maxwell's Equations - -\nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} -= \frac{4\pi}{c}\vec{\mathbf{j}} \nabla \cdot \vec{\mathbf{E}} = 4 \pi \rho - -\nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} = \vec{\mathbf{0}} - -\nabla \cdot \vec{\mathbf{B}} = 0 - -Same thing in a LaTeX array -\begin{array}{c} - -\nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & -= \frac{4\pi}{c}\vec{\mathbf{j}} \nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\ - -\nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\ - -\nabla \cdot \vec{\mathbf{B}} & = 0 - -\end{array} - - -\begin{array}{c} -y_1 \\ -y_2 \mathtt{t}_i \\ -z_{3,4} -\end{array} - -\begin{array}{c} -x' &=& &x \sin\phi &+& z \cos\phi \\ -z' &=& - &x \cos\phi &+& z \sin\phi \\ -\end{array} - - - -# Maxwell's Equations - - -equation | description -----------|------------ -$\nabla \cdot \vec{\mathbf{B}} = 0$ | divergence of $\vec{\mathbf{B}}$ is zero -$\nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} = \vec{\mathbf{0}}$ | curl of $\vec{\mathbf{E}}$ is proportional to the rate of change of $\vec{\mathbf{B}}$ -$\nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} = \frac{4\pi}{c}\vec{\mathbf{j}} \nabla \cdot \vec{\mathbf{E}} = 4 \pi \rho$ | wha? - -![electricity](http://i.giphy.com/Gty2oDYQ1fih2.gif) -*/ diff --git a/test/index.html b/test/index.html deleted file mode 100644 index f374d04..0000000 --- a/test/index.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - -
- -