@@ -26,20 +26,16 @@ In case you set an base you should prefix images with it.
26
26
27
27
``` mmd
28
28
graph LR;
29
- K([........... <img src='/vitepress-plugin-mermaid/K.png' width='60' >........... ])-.->G((........... <img id='git' src='/vitepress-plugin-mermaid/Octocat.png' width='50' >........... ));
30
- H([........... <img id='helm' src='/vitepress-plugin-mermaid/helm.png' width='60' >........... ])-.->G
29
+ K([<img src='/vitepress-plugin-mermaid/K.png' width='60' >])-.->G((<img id='git' src='/vitepress-plugin-mermaid/Octocat.png' width='50' >));
30
+ H([<img id='helm' src='/vitepress-plugin-mermaid/helm.png' width='60' >])-.->G
31
31
G-->A;
32
- A(........... <img src='/vitepress-plugin-mermaid/argo-cd.png' width='60' >........... )-->D(........... <img src='/vitepress-plugin-mermaid/ocp.png' width='60' >........... );
32
+ A(<img src='/vitepress-plugin-mermaid/argo-cd.png' width='60' >)-->D(<img src='/vitepress-plugin-mermaid/ocp.png' width='60' >);
33
33
classDef img fill:none,color:transparent,stroke:none,borderRadius:50px
34
34
class G,D,A,K,H,B img
35
35
click K "https://kustomize.io/" _blank
36
36
click G "http://www.github.com" "This is a link" _blank
37
37
```
38
38
39
- ::: danger
40
- Isolated images are nor rendering while using mermaid bigger than 9.1 [ see the issue on github] ( https://github.com/mermaid-js/mermaid/issues/4023 ) .
41
- The transparent wrapper ` ........... ` is a workaround until it is fixed.
42
- :::
43
39
44
40
# Render
45
41
@@ -49,10 +45,10 @@ Kustomize and github are links in here!
49
45
50
46
``` mermaid
51
47
graph LR;
52
- K([........... <img src='/vitepress-plugin-mermaid/K.png' width='60' >........... ])-.->G((........... <img id='git' src='/vitepress-plugin-mermaid/Octocat.png' width='50' >........... ));
53
- H([........... <img id='helm' src='/vitepress-plugin-mermaid/helm.png' width='60' >........... ])-.->G
48
+ K([<img src='/vitepress-plugin-mermaid/K.png' width='60' >])-.->G((<img id='git' src='/vitepress-plugin-mermaid/Octocat.png' width='50' >));
49
+ H([<img id='helm' src='/vitepress-plugin-mermaid/helm.png' width='60' >])-.->G
54
50
G-->A;
55
- A(........... <img src='/vitepress-plugin-mermaid/argo-cd.png' width='60' >........... )-->D(........... <img src='/vitepress-plugin-mermaid/ocp.png' width='60' >........... );
51
+ A(<img src='/vitepress-plugin-mermaid/argo-cd.png' width='60' >)-->D(<img src='/vitepress-plugin-mermaid/ocp.png' width='60' >);
56
52
classDef img fill:none,color:transparent,stroke:none,borderRadius:50px
57
53
class G,D,A,K,H,B img
58
54
click K "https://kustomize.io/" _blank
@@ -151,12 +147,5 @@ gantt
151
147
border-radius : 50px ;
152
148
}
153
149
154
- #helm ,
155
- .dark #git {
156
- transform : scale (1.5 );
157
- }
158
150
159
- .dark #helm {
160
- filter : brightness (1.5 );
161
- }
162
151
</style >
0 commit comments