Skip to content

Commit

Permalink
Update flowchart.md (#4798)
Browse files Browse the repository at this point in the history
* Update flowchart.md

Fixed typos

* docs: Fix proper doc

* docs: Fix npmjs link

---------

Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com>
  • Loading branch information
dsblank and sidharthv96 committed Sep 6, 2023
1 parent 02517e8 commit 2eb9afa
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/intro/index.md
Expand Up @@ -402,7 +402,7 @@ Update version number in `package.json`.
npm publish
```

The above command generates files into the `dist` folder and publishes them to [npmjs.org](npmjs.org).
The above command generates files into the `dist` folder and publishes them to [npmjs.com](https://www.npmjs.com/).

## Security and safe diagrams

Expand Down
8 changes: 4 additions & 4 deletions docs/syntax/flowchart.md
Expand Up @@ -860,8 +860,8 @@ flowchart LR
C-->D
click A callback "Tooltip for a callback"
click B "https://www.github.com" "This is a tooltip for a link"
click A call callback() "Tooltip for a callback"
click B href "https://www.github.com" "This is a tooltip for a link"
click C call callback() "Tooltip for a callback"
click D href "https://www.github.com" "This is a tooltip for a link"
```

```mermaid
Expand All @@ -871,8 +871,8 @@ flowchart LR
C-->D
click A callback "Tooltip for a callback"
click B "https://www.github.com" "This is a tooltip for a link"
click A call callback() "Tooltip for a callback"
click B href "https://www.github.com" "This is a tooltip for a link"
click C call callback() "Tooltip for a callback"
click D href "https://www.github.com" "This is a tooltip for a link"
```

> **Success** The tooltip functionality and the ability to link to urls are available from version 0.5.2.
Expand Down
2 changes: 1 addition & 1 deletion packages/mermaid/src/docs/intro/index.md
Expand Up @@ -179,7 +179,7 @@ Update version number in `package.json`.
npm publish
```

The above command generates files into the `dist` folder and publishes them to [npmjs.org](npmjs.org).
The above command generates files into the `dist` folder and publishes them to [npmjs.com](https://www.npmjs.com/).

## Security and safe diagrams

Expand Down
4 changes: 2 additions & 2 deletions packages/mermaid/src/docs/syntax/flowchart.md
Expand Up @@ -554,8 +554,8 @@ flowchart LR
C-->D
click A callback "Tooltip for a callback"
click B "https://www.github.com" "This is a tooltip for a link"
click A call callback() "Tooltip for a callback"
click B href "https://www.github.com" "This is a tooltip for a link"
click C call callback() "Tooltip for a callback"
click D href "https://www.github.com" "This is a tooltip for a link"
```

> **Success** The tooltip functionality and the ability to link to urls are available from version 0.5.2.
Expand Down

0 comments on commit 2eb9afa

Please sign in to comment.