Spaces:
Running
Running
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width" /> | |
| <title>My static Space</title> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> | |
| <style> | |
| .chart{ | |
| background:blue; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="chart"> | |
| <pre id = "test1" class="mermaid"> | |
| graph TD | |
| A[Start] --> B[Task 1] | |
| B --> C[Task 8] | |
| C --> D[End] | |
| </pre> | |
| </div> | |
| <script type="module"> | |
| import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs'; | |
| mermaid.initialize({ startOnLoad: true }); | |
| </script> | |
| </body> | |
| </html> |