AbhayBadam09 commited on
Commit
79ad1a8
·
verified ·
1 Parent(s): 2862e30

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +39 -17
index.html CHANGED
@@ -1,19 +1,41 @@
1
  <!doctype html>
2
  <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <!doctype html>
2
  <html>
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <title>Blog OpenEnv</title>
6
+
7
+ <script>
8
+ window.MathJax = {
9
+ tex: {
10
+ inlineMath: [['$', '$'], ['\\(', '\\)']],
11
+ displayMath: [['$$', '$$'], ['\\[', '\\]']]
12
+ },
13
+ svg: { fontCache: 'global' }
14
+ };
15
+ </script>
16
+ <script defer src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"></script>
17
+ <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
18
+
19
+ <style>
20
+ body { font-family: Arial, sans-serif; background: #fff; color: #111; }
21
+ .wrap { max-width: 920px; margin: 32px auto; line-height: 1.7; }
22
+ img { max-width: 100%; height: auto; border-radius: 8px; margin: 14px 0; display: block; }
23
+ h1, h2, h3 { margin-top: 1.2em; }
24
+ </style>
25
+ </head>
26
+ <body>
27
+ <div class="wrap" id="content">Loading blog...</div>
28
+
29
+ <script>
30
+ fetch("./MINIBLOG.md")
31
+ .then(r => r.text())
32
+ .then(md => {
33
+ document.getElementById("content").innerHTML = marked.parse(md);
34
+ if (window.MathJax) MathJax.typesetPromise();
35
+ })
36
+ .catch(() => {
37
+ document.getElementById("content").innerHTML = "<h2>Could not load MINIBLOG.md</h2>";
38
+ });
39
+ </script>
40
+ </body>
41
+ </html>