| <!doctype html> |
| <html> |
| <head> |
| <meta charset="utf-8" /> |
| <title>Blog OpenEnv</title> |
|
|
| <script> |
| window.MathJax = { |
| tex: { |
| inlineMath: [['$', '$'], ['\\(', '\\)']], |
| displayMath: [['$$', '$$'], ['\\[', '\\]']] |
| }, |
| svg: { fontCache: 'global' } |
| }; |
| </script> |
| <script defer src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"></script> |
| <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script> |
|
|
| <style> |
| body { font-family: Arial, sans-serif; background: #fff; color: #111; } |
| .wrap { max-width: 920px; margin: 32px auto; line-height: 1.7; } |
| img { max-width: 100%; height: auto; border-radius: 8px; margin: 14px 0; display: block; } |
| h1, h2, h3 { margin-top: 1.2em; } |
| </style> |
| </head> |
| <body> |
| <div class="wrap" id="content">Loading blog...</div> |
|
|
| <script> |
| fetch("./MINIBLOG.md") |
| .then(r => r.text()) |
| .then(md => { |
| document.getElementById("content").innerHTML = marked.parse(md); |
| if (window.MathJax) MathJax.typesetPromise(); |
| }) |
| .catch(() => { |
| document.getElementById("content").innerHTML = "<h2>Could not load MINIBLOG.md</h2>"; |
| }); |
| </script> |
| </body> |
| </html> |