mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-17 11:14:12 +01:00
#530 Add Hex example to index.html
This commit is contained in:
4
dist/index.html
vendored
4
dist/index.html
vendored
@@ -291,7 +291,7 @@ graph TB
|
|||||||
<div class="mermaid">
|
<div class="mermaid">
|
||||||
graph TD
|
graph TD
|
||||||
A[Christmas] -->|Get money| B(Go shopping)
|
A[Christmas] -->|Get money| B(Go shopping)
|
||||||
B --> C{Let me think}
|
B --> C{{Let me think...<br />Do I want something for work,<br />something to spend every free second with,<br />or something to get around?}}
|
||||||
C -->|One| D[Laptop]
|
C -->|One| D[Laptop]
|
||||||
C -->|Two| E[iPhone]
|
C -->|Two| E[iPhone]
|
||||||
C -->|Three| F[Car]
|
C -->|Three| F[Car]
|
||||||
@@ -443,7 +443,7 @@ Class08 <--> C2: Cool label
|
|||||||
const testLineEndings = (test, input) => {
|
const testLineEndings = (test, input) => {
|
||||||
try {
|
try {
|
||||||
mermaid.render(test, input, () => {});
|
mermaid.render(test, input, () => {});
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error("Error in %s:\n\n%s", test, err);
|
console.error("Error in %s:\n\n%s", test, err);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user