ucaslcl commited on
Commit
0bb03ca
1 Parent(s): 504cd76

Delete render_tools/content-mmd-to-html.html

Browse files
render_tools/content-mmd-to-html.html DELETED
@@ -1,39 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en" data-lt-installed="true"><head>
3
- <meta charset="UTF-8">
4
- <title>Title</title>
5
- <script>
6
- const text =
7
- </script>
8
- <style>
9
- #content {
10
- max-width: 800px;
11
- margin: auto;
12
- }
13
- </style>
14
- <script>
15
- let script = document.createElement('script');
16
- script.src = "https://cdn.jsdelivr.net/npm/[email protected]/es5/bundle.js";
17
- document.head.append(script);
18
-
19
- script.onload = function() {
20
- const isLoaded = window.loadMathJax();
21
- if (isLoaded) {
22
- console.log('Styles loaded!')
23
- }
24
-
25
- const el = window.document.getElementById('content-text');
26
- if (el) {
27
- const options = {
28
- htmlTags: true
29
- };
30
- const html = window.render(text, options);
31
- el.outerHTML = html;
32
- }
33
- };
34
- </script>
35
- </head>
36
- <body>
37
- <div id="content"><div id="content-text"></div></div>
38
- </body>
39
- </html>