sequence-js entfernt
This commit is contained in:
@@ -312,57 +312,6 @@ markdown_extensions:
|
|||||||
|
|
||||||
### Plugins
|
### Plugins
|
||||||
|
|
||||||
#### js-sequence-diagrams
|
|
||||||
|
|
||||||
```
|
|
||||||
pip3 install git+https://github.com/fcannizzaro/mkdocs-sequence-js-plugin
|
|
||||||
```
|
|
||||||
|
|
||||||
in "mkdocs.yml":
|
|
||||||
|
|
||||||
```
|
|
||||||
plugins:
|
|
||||||
- sequence-js:
|
|
||||||
theme: simple|hand # diagram style
|
|
||||||
popup: true # enable "click to zoom" diagram
|
|
||||||
```
|
|
||||||
|
|
||||||
Beispiele:
|
|
||||||
|
|
||||||
```
|
|
||||||
```sequence
|
|
||||||
Title: Das ist der Titel
|
|
||||||
A->B: normale Linie
|
|
||||||
B-->C: unterbrochene Linie
|
|
||||||
C->>D: offener Pfeil
|
|
||||||
D-->>A: unterbrochener offener Pfeil
|
|
||||||
```
|
|
||||||
```
|
|
||||||
|
|
||||||
```sequence
|
|
||||||
Title: Here is a title
|
|
||||||
A->B: normale Linie
|
|
||||||
B-->C: unterbrochene Linie
|
|
||||||
C->>D: offener Pfeil
|
|
||||||
D-->>A: unterbrochener offener Pfeil
|
|
||||||
```
|
|
||||||
|
|
||||||
```
|
|
||||||
```sequence
|
|
||||||
Note left of A: Note to the\n left of A
|
|
||||||
Note right of A: Note to the\n right of A
|
|
||||||
Note over A: Note over A
|
|
||||||
Note over A,B: Note over both A and B
|
|
||||||
```
|
|
||||||
```
|
|
||||||
|
|
||||||
```sequence
|
|
||||||
Note left of A: Note to the\n left of A
|
|
||||||
Note right of A: Note to the\n right of A
|
|
||||||
Note over A: Note over A
|
|
||||||
Note over A,B: Note over both A and B
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Benutzerdefinierte Variablen
|
#### Benutzerdefinierte Variablen
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,18 +0,0 @@
|
|||||||
const init = () => {
|
|
||||||
|
|
||||||
const diagrams = document.querySelectorAll("div[id*=diagram]");
|
|
||||||
|
|
||||||
diagrams.forEach(diagram => {
|
|
||||||
|
|
||||||
diagram.addEventListener('click', () =>
|
|
||||||
diagram.classList.toggle('fullscreen-diagram')
|
|
||||||
)
|
|
||||||
|
|
||||||
window.addEventListener("keydown", (event) =>
|
|
||||||
diagram.classList.remove('fullscreen-diagram'), true);
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
document.addEventListener('DOMContentLoaded', init, false);
|
|
||||||
Vendored
-9
File diff suppressed because one or more lines are too long
Vendored
-21
File diff suppressed because one or more lines are too long
Vendored
-6
File diff suppressed because one or more lines are too long
@@ -23,9 +23,6 @@ markdown_extensions:
|
|||||||
- pymdownx.keys
|
- pymdownx.keys
|
||||||
- pymdownx.tabbed
|
- pymdownx.tabbed
|
||||||
plugins:
|
plugins:
|
||||||
- sequence-js:
|
|
||||||
theme: hand
|
|
||||||
popup: true
|
|
||||||
- with-pdf:
|
- with-pdf:
|
||||||
copyright: Copyright © 2020 Bernd Reuther
|
copyright: Copyright © 2020 Bernd Reuther
|
||||||
toc_title: Inhaltsverzeichnis
|
toc_title: Inhaltsverzeichnis
|
||||||
|
|||||||
Reference in New Issue
Block a user