Skip to content

Commit

Permalink
Merge pull request #5517 from GRASBOCK/patch-1
Browse files Browse the repository at this point in the history
Update flowchart.md
  • Loading branch information
sidharthv96 authored May 16, 2024
2 parents b7cb967 + 6d2939c commit 362e49a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/syntax/flowchart.md
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ Examples of tooltip usage below:

```html
<script>
const callback = function () {
window.callback = function () {
alert('A callback was triggered');
};
</script>
Expand Down Expand Up @@ -899,7 +899,7 @@ flowchart LR

> **Success** The tooltip functionality and the ability to link to urls are available from version 0.5.2.
?> Due to limitations with how Docsify handles JavaScript callback functions, an alternate working demo for the above code can be viewed at [this jsfiddle](https://jsfiddle.net/Ogglas/2o73vdez/7).
?> Due to limitations with how Docsify handles JavaScript callback functions, an alternate working demo for the above code can be viewed at [this jsfiddle](https://jsfiddle.net/yk4h7qou/2/).

Links are opened in the same browser tab/window by default. It is possible to change this by adding a link target to the click definition (`_self`, `_blank`, `_parent` and `_top` are supported):

Expand Down Expand Up @@ -943,7 +943,7 @@ Beginner's tip—a full example using interactive links in a html context:
</pre>

<script>
const callback = function () {
window.callback = function () {
alert('A callback was triggered');
};
const config = {
Expand Down
6 changes: 3 additions & 3 deletions packages/mermaid/src/docs/syntax/flowchart.md
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ Examples of tooltip usage below:

```html
<script>
const callback = function () {
window.callback = function () {
alert('A callback was triggered');
};
</script>
Expand All @@ -578,7 +578,7 @@ flowchart LR

> **Success** The tooltip functionality and the ability to link to urls are available from version 0.5.2.
?> Due to limitations with how Docsify handles JavaScript callback functions, an alternate working demo for the above code can be viewed at [this jsfiddle](https://jsfiddle.net/Ogglas/2o73vdez/7).
?> Due to limitations with how Docsify handles JavaScript callback functions, an alternate working demo for the above code can be viewed at [this jsfiddle](https://jsfiddle.net/yk4h7qou/2/).

Links are opened in the same browser tab/window by default. It is possible to change this by adding a link target to the click definition (`_self`, `_blank`, `_parent` and `_top` are supported):

Expand Down Expand Up @@ -610,7 +610,7 @@ Beginner's tip—a full example using interactive links in a html context:
</pre>

<script>
const callback = function () {
window.callback = function () {
alert('A callback was triggered');
};
const config = {
Expand Down

0 comments on commit 362e49a

Please sign in to comment.