You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-38Lines changed: 1 addition & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,8 +24,6 @@ pip install mkdocs-markmap
24
24
Add this to `mkdocs.yml`:
25
25
26
26
```yaml
27
-
markdown_extensions:
28
-
- markmap
29
27
plugins:
30
28
- markmap
31
29
```
@@ -36,12 +34,11 @@ There are more options available for `mkdocs.yml` (shown values are defaults):
36
34
37
35
```yaml
38
36
markdown_extensions:
37
+
plugins:
39
38
- markmap:
40
39
base_path: docs
41
40
encoding: utf-8
42
41
file_extension: .mm.md
43
-
plugins:
44
-
- markmap:
45
42
d3_version: 6.3.1
46
43
lib_version: 0.11.1
47
44
view_version: 0.2.1
@@ -62,40 +59,6 @@ extra_javascript:
62
59
* `markmap-lib`
63
60
* `markmap-view`
64
61
65
-
## Wait, what?! Do I need an extension or a plugin? :unamused:
66
-
67
-
_Q: What does the plugin do?_
68
-
69
-
A: It supports code blocks of markdown as follows:
70
-
71
-
````markdown
72
-
```markmap
73
-
# Root
74
-
75
-
## Branch 1
76
-
77
-
* Branchlet 1a
78
-
* Branchlet 1b
79
-
80
-
## Branch 2
81
-
82
-
* Branchlet 2a
83
-
* Branchlet 2b
84
-
```
85
-
````
86
-
87
-
_Q: What does the extension do?_
88
-
89
-
A: Well, having such a support is nice, but huge mindmap blocks might be annoying within your tidy markdown files. That is why the extension provides an addition to the markdown syntax. It includes files whereever you need them to be:
90
-
91
-
```markdown
92
-
Look at this beautiful mindmap:
93
-
94
-
{!mindmap.mm.md!}
95
-
```
96
-
97
-
But you _do_ need the plugin for that. Thus, don't forget to follow the quickstart example above.
98
-
99
62
## Credits :clap:
100
63
101
64
Some of the development approaches are based on implementations provided by the following projects:
0 commit comments