-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (45 loc) · 1.52 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Expanded Mind Map Application</title>
<link rel="stylesheet" href="styles.css">
<script src="https://html2canvas.hertzen.com/dist/html2canvas.min.js"></script>
</head>
<body>
<div class="container">
<h1>Mind Map Generator</h1>
<div class="input-section">
<textarea id="input-area" placeholder="Enter your markdown here...">
# Root Node Title
## Level 1 Node 1
### Level 2 Node 1.1
#### Level 3 Node 1.1.1
#### Level 3 Node 1.1.2
#### Level 3 Node 1.1.3
### Level 2 Node 1.2
### Level 2 Node 1.3
## Level 1 Node 2
### Level 2 Node 2.1
#### Level 3 Node 2.1.1
#### Level 3 Node 2.1.2
#### Level 3 Node 2.1.3
### Level 2 Node 2.2
### Level 2 Node 2.3
## Level 1 Node 3
## Level 1 Node 4
## Level 1 Node 5
## Level 1 Node 6
</textarea>
<p class="note">Note: Use the markdown structure shown above (# for root, ## for level 1, ### for level 2, #### for level 3). You can modify the content and don't need to use all levels or nodes, but please maintain this structure for correct rendering.</p>
</div>
<div class="button-container">
<button id="render-button" class="btn btn-primary">Render Mindmap</button>
<button id="generate-png" class="btn btn-secondary">Generate PNG</button>
</div>
<div id="mindmap-container"></div>
</div>
<script src="script.js"></script>
</body>
</html>