1
0
Fork 0
This repository has been archived on 2024-02-06. You can view files and clone it, but cannot push or open issues or pull requests.
markdown-it-katex/index.html

40 lines
1.3 KiB
HTML
Raw Normal View History

2016-03-11 22:56:48 +09:00
<!DOCTYPE html>
<head>
2016-03-11 23:38:46 +09:00
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/katex.min.css">
2016-03-12 00:16:54 +09:00
<link rel="stylesheet" href="https://cdn.jsdelivr.net/github-markdown-css/2.2.1/github-markdown.css"/>
2016-03-11 22:56:48 +09:00
<style>
#input {
display: block;
font-size: 12pt;
2016-03-12 00:16:54 +09:00
padding-top: 0.5em;
padding-left: 0.1em;
font-family: monospace;
}
#button {
margin-top: 1em;
width: 120px;
height: 50px;
font-size: 14pt;
2016-03-11 22:56:48 +09:00
}
#output {
margin: 20px;
}
</style>
</head>
<body>
2016-03-12 00:16:54 +09:00
<textarea id="input" type="textarea" rows=15, cols=80 spellcheck="false">
2016-03-11 23:38:46 +09:00
# 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}}$
2016-03-12 00:23:11 +09:00
$\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?_
2016-03-11 23:38:46 +09:00
![electricity](http://i.giphy.com/Gty2oDYQ1fih2.gif)</textarea>
2016-03-11 22:56:48 +09:00
<button id="button">Mathdown!</button>
<div id="output" class="markdown-body"></div>
<script src="./bundle.js"></script>
</body>