@mathcrowd/mmarked 2.0.1 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mathcrowd/mmarked",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "A customized markdown parser/renderer with tex2svg.",
5
5
  "types": "dist/index.d.ts",
6
6
  "module": "dist/index.mjs",
package/demo.html DELETED
@@ -1,20 +0,0 @@
1
- <!doctype html>
2
- <html>
3
-
4
- <head>
5
- <meta charset="utf-8" />
6
- <title>Marked in the browser</title>
7
- </head>
8
-
9
- <body>
10
- <div id="content"></div>
11
- <script src="dist/browser.umd.js"></script>
12
- <script>
13
- const { tex2svg, renderMarkdown } = marked
14
- document.getElementById('content').innerHTML =
15
- tex2svg(renderMarkdown('# Marked in the browser \n\n $x^2+y^2=1$ \n\nRendered by **MMarked**.').parsed);
16
- console.log(renderMarkdown('# Marked in the browser\n\nRendered by **MMarked**.').lexed)
17
- </script>
18
- </body>
19
-
20
- </html>