UNPKG

501 BHTMLView Raw
1<!DOCTYPE html>
2<head>
3 <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/KaTeX/0.3.0/katex.min.css">
4 <link rel="stylesheet" href="github-markdown.css">
5 <style>
6 #input {
7 display: block;
8 font-size: 12pt;
9
10 }
11 #output {
12 margin: 20px;
13 }
14 </style>
15</head>
16<body>
17 <textarea id="input" type="textarea" rows=10, cols=80>$\sqrt{3x-1}+(1+x)^2$</textarea>
18 <button id="button">Mathdown!</button>
19 <div id="output" class="markdown-body"></div>
20 <script src="./bundle.js"></script>
21</body>