Skip to content

Commit

Permalink
Added electricity html file
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan3-14 authored Feb 6, 2024
1 parent acfecf0 commit 7d114c7
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 0 deletions.
Empty file.
41 changes: 41 additions & 0 deletions mindmaps/electricity/output.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Markmap</title>
<style>
* {
margin: 0;
padding: 0;
}
#mindmap {
display: block;
width: 100vw;
height: 100vh;
}
</style>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/style.css">
</head>
<body>
<svg id="mindmap"></svg>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/d3.min.js"></script><script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/browser/index.js"></script><script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/index.js"></script><script>((r) => {
setTimeout(r);
})(() => {
const { markmap, mm } = window;
const toolbar = new markmap.Toolbar();
toolbar.attach(mm);
const el = toolbar.render();
el.setAttribute("style", "position:absolute;bottom:20px;right:20px");
document.body.append(el);
})</script><script>((getMarkmap, getOptions, root2, jsonOptions) => {
const markmap = getMarkmap();
window.mm = markmap.Markmap.create(
"svg#mindmap",
(getOptions || markmap.deriveOptions)(jsonOptions),
root2
);
})(() => window.markmap,null,{"type":"heading","depth":0,"payload":{"lines":[0,1]},"content":"Main","children":[{"type":"heading","depth":1,"payload":{"lines":[1,2]},"content":"Sub 1","children":[{"type":"heading","depth":2,"payload":{"lines":[2,3]},"content":"Sub 1a","children":[]},{"type":"heading","depth":2,"payload":{"lines":[3,4]},"content":"Sub 1b","children":[]},{"type":"heading","depth":2,"payload":{"lines":[4,5]},"content":"Sub 1c","children":[]}]},{"type":"heading","depth":1,"payload":{"lines":[5,6]},"content":"Sub 2","children":[{"type":"heading","depth":2,"payload":{"lines":[6,7]},"content":"Sub 2a","children":[]},{"type":"heading","depth":2,"payload":{"lines":[7,8]},"content":"Sub 2b","children":[]},{"type":"heading","depth":2,"payload":{"lines":[8,9]},"content":"Sub 2c","children":[]}]},{"type":"heading","depth":1,"payload":{"lines":[9,10]},"content":"Sub 3","children":[{"type":"heading","depth":2,"payload":{"lines":[10,11]},"content":"Sub 3a","children":[]},{"type":"heading","depth":2,"payload":{"lines":[11,12]},"content":"Sub 3b","children":[{"type":"heading","depth":3,"payload":{"lines":[12,13]},"content":"Sub 3bI","children":[]},{"type":"heading","depth":3,"payload":{"lines":[13,14]},"content":"Sub 3bII","children":[]}]}]}]},null)</script>
</body>
</html>
14 changes: 14 additions & 0 deletions mindmaps/electricity/output.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Main
## Sub 1
### Sub 1a
### Sub 1b
### Sub 1c
## Sub 2
### Sub 2a
### Sub 2b
### Sub 2c
## Sub 3
### Sub 3a
### Sub 3b
#### Sub 3bI
#### Sub 3bII
1 change: 1 addition & 0 deletions mindmaps/electricity/yaml-mindmap
Submodule yaml-mindmap added at 4f82e5

0 comments on commit 7d114c7

Please sign in to comment.