diff --git a/README.md b/README.md index 9a500283c..ad98ee8bf 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ You can also use Mermaid within [GitHub](https://github.blog/2022-02-14-include- For a more detailed introduction to Mermaid and some of its more basic uses, look to the [Beginner's Guide](./docs/community/n00b-overview.md), [Usage](./docs/config/usage.md) and [Tutorials](./docs/config/Tutorials.md). -๐ŸŒ [CDN](https://unpkg.com/mermaid/) | ๐Ÿ“– [Documentation](https://mermaidjs.github.io) | ๐Ÿ™Œ [Contribution](https://github.com/mermaid-js/mermaid/blob/develop/CONTRIBUTING.md) | ๐Ÿ“œ [Changelog](./docs/CHANGELOG.md) +๐ŸŒ [CDN](https://www.jsdelivr.com/package/npm/mermaid) | ๐Ÿ“– [Documentation](https://mermaidjs.github.io) | ๐Ÿ™Œ [Contribution](https://github.com/mermaid-js/mermaid/blob/develop/CONTRIBUTING.md) | ๐Ÿ“œ [Changelog](./docs/CHANGELOG.md) In our release process we rely heavily on visual regression tests using [applitools](https://applitools.com/). Applitools is a great service which has been easy to use and integrate with our tests. diff --git a/README.zh-CN.md b/README.zh-CN.md index 4bdbc4ae7..415b4bf3e 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -28,7 +28,7 @@ Mermaid ็”š่‡ณ่ƒฝ่ฎฉ้ž็จ‹ๅบๅ‘˜ไนŸ่ƒฝ้€š่ฟ‡ [Mermaid Live Editor](https://merma ๅฆ‚ๆžœๆƒณ่ฆๆŸฅ็œ‹ๅ…ณไบŽ Mermaid ๆ›ด่ฏฆ็ป†็š„ไป‹็ปๅŠๅŸบ็ก€ไฝฟ็”จๆ–นๅผ๏ผŒๅฏไปฅๆŸฅ็œ‹ [ๅ…ฅ้—จๆŒ‡ๅผ•](./docs/community/n00b-overview.md), [็”จๆณ•](./docs/config/usage.md) ๅ’Œ [ๆ•™็จ‹](./docs/config/Tutorials.md). -๐ŸŒ [CDN](https://unpkg.com/mermaid/) | ๐Ÿ“– [ๆ–‡ๆกฃ](https://mermaidjs.github.io) | ๐Ÿ™Œ [่ดก็Œฎ](https://github.com/mermaid-js/mermaid/blob/develop/CONTRIBUTING.md) | ๐Ÿ“œ [ๆ›ดๆ–ฐๆ—ฅๅฟ—](./docs/CHANGELOG.md) +๐ŸŒ [CDN](https://www.jsdelivr.com/package/npm/mermaid) | ๐Ÿ“– [ๆ–‡ๆกฃ](https://mermaidjs.github.io) | ๐Ÿ™Œ [่ดก็Œฎ](https://github.com/mermaid-js/mermaid/blob/develop/CONTRIBUTING.md) | ๐Ÿ“œ [ๆ›ดๆ–ฐๆ—ฅๅฟ—](./docs/CHANGELOG.md) diff --git a/docs/config/8.6.0_docs.md b/docs/config/8.6.0_docs.md index abd158712..0b1d64112 100644 --- a/docs/config/8.6.0_docs.md +++ b/docs/config/8.6.0_docs.md @@ -8,7 +8,7 @@ ## [New Mermaid Live-Editor Beta](https://mermaid-js.github.io/docs/mermaid-live-editor-beta/#/edit/eyJjb2RlIjoiJSV7aW5pdDoge1widGhlbWVcIjogXCJmb3Jlc3RcIiwgXCJsb2dMZXZlbFwiOiAxIH19JSVcbmdyYXBoIFREXG4gIEFbQ2hyaXN0bWFzXSAtLT58R2V0IG1vbmV5fCBCKEdvIHNob3BwaW5nKVxuICBCIC0tPiBDe0xldCBtZSB0aGlua31cbiAgQyAtLT58T25lfCBEW0xhcHRvcF1cbiAgQyAtLT58VHdvfCBFW2lQaG9uZV1cbiAgQyAtLT58VGhyZWV8IEZbZmE6ZmEtY2FyIENhcl1cblx0XHQiLCJtZXJtYWlkIjp7InRoZW1lIjoiZGFyayJ9fQ) -## [CDN](https://unpkg.com/mermaid/) +## [CDN](https://www.jsdelivr.com/package/npm/mermaid) With version 8.6.0 comes the release of directives for mermaid, a new system for modifying configurations, with the aim of establishing centralized, sane defaults and simple implementation. diff --git a/docs/config/usage.md b/docs/config/usage.md index 476806d8f..59fc37c40 100644 --- a/docs/config/usage.md +++ b/docs/config/usage.md @@ -12,7 +12,7 @@ Diagrams can be re-rendered/modified by modifying their descriptions. ### CDN - + Please note that you can switch versions through the dropdown box at the top right. diff --git a/docs/intro/index.md b/docs/intro/index.md index 5aa068e27..25b3a5564 100644 --- a/docs/intro/index.md +++ b/docs/intro/index.md @@ -35,7 +35,7 @@ Use Mermaid with your favorite applications, check out the list of [Integrations For a more detailed introduction to Mermaid and some of its more basic uses, look to the [Beginner's Guide](../community/n00b-overview.md) and [Usage](../config/usage.md). -๐ŸŒ [CDN](https://unpkg.com/mermaid/) | ๐Ÿ“– [Documentation](https://mermaidjs.github.io) | ๐Ÿ™Œ [Contribution](../community/development.md) | ๐Ÿ”Œ [Plug-Ins](../misc/integrations.md) +๐ŸŒ [CDN](https://www.jsdelivr.com/package/npm/mermaid) | ๐Ÿ“– [Documentation](https://mermaidjs.github.io) | ๐Ÿ™Œ [Contribution](../community/development.md) | ๐Ÿ”Œ [Plug-Ins](../misc/integrations.md) > ๐Ÿ–– Keep a steady pulse: mermaid needs more Collaborators, [Read More](https://github.com/knsv/mermaid/issues/866). @@ -243,13 +243,13 @@ journey ### CDN - https://unpkg.com/mermaid@/dist/ + https://cdn.jsdelivr.net/npm@/dist/ To select a version: Replace `` with the desired version number. -Latest Version: +Latest Version: ## Deploying Mermaid diff --git a/packages/mermaid/README.md b/packages/mermaid/README.md index e6c7db608..d453d2ec0 100644 --- a/packages/mermaid/README.md +++ b/packages/mermaid/README.md @@ -33,7 +33,7 @@ You can also use Mermaid within [GitHub](https://github.blog/2022-02-14-include- For a more detailed introduction to Mermaid and some of its more basic uses, look to the [Beginner's Guide](./docs/n00b-overview.md), [Usage](./docs/usage.md) and [Tutorials](./docs/Tutorials.md). -๐ŸŒ [CDN](https://unpkg.com/mermaid/) | ๐Ÿ“– [Documentation](https://mermaidjs.github.io) | ๐Ÿ™Œ [Contribution](https://github.com/mermaid-js/mermaid/blob/develop/CONTRIBUTING.md) | ๐Ÿ“œ [Changelog](./docs/CHANGELOG.md) +๐ŸŒ [CDN](https://www.jsdelivr.com/package/npm/mermaid) | ๐Ÿ“– [Documentation](https://mermaidjs.github.io) | ๐Ÿ™Œ [Contribution](https://github.com/mermaid-js/mermaid/blob/develop/CONTRIBUTING.md) | ๐Ÿ“œ [Changelog](./docs/CHANGELOG.md) In our release process we rely heavily on visual regression tests using [applitools](https://applitools.com/). Applitools is a great service which has been easy to use and integrate with our tests. diff --git a/packages/mermaid/README.zh-CN.md b/packages/mermaid/README.zh-CN.md index 0ccef27e4..2e91ffcc0 100644 --- a/packages/mermaid/README.zh-CN.md +++ b/packages/mermaid/README.zh-CN.md @@ -28,7 +28,7 @@ Mermaid ็”š่‡ณ่ƒฝ่ฎฉ้ž็จ‹ๅบๅ‘˜ไนŸ่ƒฝ้€š่ฟ‡ [Mermaid Live Editor](https://merma ๅฆ‚ๆžœๆƒณ่ฆๆŸฅ็œ‹ๅ…ณไบŽ Mermaid ๆ›ด่ฏฆ็ป†็š„ไป‹็ปๅŠๅŸบ็ก€ไฝฟ็”จๆ–นๅผ๏ผŒๅฏไปฅๆŸฅ็œ‹ [ๅ…ฅ้—จๆŒ‡ๅผ•](./docs/n00b-overview.md), [็”จๆณ•](./docs/usage.md) ๅ’Œ [ๆ•™็จ‹](./docs/Tutorials.md). -๐ŸŒ [CDN](https://unpkg.com/mermaid/) | ๐Ÿ“– [ๆ–‡ๆกฃ](https://mermaidjs.github.io) | ๐Ÿ™Œ [่ดก็Œฎ](https://github.com/mermaid-js/mermaid/blob/develop/CONTRIBUTING.md) | ๐Ÿ“œ [ๆ›ดๆ–ฐๆ—ฅๅฟ—](./docs/CHANGELOG.md) +๐ŸŒ [CDN](https://www.jsdelivr.com/package/npm/mermaid) | ๐Ÿ“– [ๆ–‡ๆกฃ](https://mermaidjs.github.io) | ๐Ÿ™Œ [่ดก็Œฎ](https://github.com/mermaid-js/mermaid/blob/develop/CONTRIBUTING.md) | ๐Ÿ“œ [ๆ›ดๆ–ฐๆ—ฅๅฟ—](./docs/CHANGELOG.md) diff --git a/packages/mermaid/src/docs/config/8.6.0_docs.md b/packages/mermaid/src/docs/config/8.6.0_docs.md index bc19e08d5..7b470eab8 100644 --- a/packages/mermaid/src/docs/config/8.6.0_docs.md +++ b/packages/mermaid/src/docs/config/8.6.0_docs.md @@ -2,7 +2,7 @@ ## [New Mermaid Live-Editor Beta](https://mermaid-js.github.io/docs/mermaid-live-editor-beta/#/edit/eyJjb2RlIjoiJSV7aW5pdDoge1widGhlbWVcIjogXCJmb3Jlc3RcIiwgXCJsb2dMZXZlbFwiOiAxIH19JSVcbmdyYXBoIFREXG4gIEFbQ2hyaXN0bWFzXSAtLT58R2V0IG1vbmV5fCBCKEdvIHNob3BwaW5nKVxuICBCIC0tPiBDe0xldCBtZSB0aGlua31cbiAgQyAtLT58T25lfCBEW0xhcHRvcF1cbiAgQyAtLT58VHdvfCBFW2lQaG9uZV1cbiAgQyAtLT58VGhyZWV8IEZbZmE6ZmEtY2FyIENhcl1cblx0XHQiLCJtZXJtYWlkIjp7InRoZW1lIjoiZGFyayJ9fQ) -## [CDN](https://unpkg.com/mermaid/) +## [CDN](https://www.jsdelivr.com/package/npm/mermaid) With version 8.6.0 comes the release of directives for mermaid, a new system for modifying configurations, with the aim of establishing centralized, sane defaults and simple implementation. diff --git a/packages/mermaid/src/docs/config/usage.md b/packages/mermaid/src/docs/config/usage.md index 3eac4ad6f..4aff83632 100644 --- a/packages/mermaid/src/docs/config/usage.md +++ b/packages/mermaid/src/docs/config/usage.md @@ -6,7 +6,7 @@ Diagrams can be re-rendered/modified by modifying their descriptions. ### CDN -[https://unpkg.com/mermaid/](https://unpkg.com/mermaid/) +[https://www.jsdelivr.com/package/npm/mermaid](https://www.jsdelivr.com/package/npm/mermaid) Please note that you can switch versions through the dropdown box at the top right. diff --git a/packages/mermaid/src/docs/intro/index.md b/packages/mermaid/src/docs/intro/index.md index df1aa3b62..5783b802f 100644 --- a/packages/mermaid/src/docs/intro/index.md +++ b/packages/mermaid/src/docs/intro/index.md @@ -30,7 +30,7 @@ Use Mermaid with your favorite applications, check out the list of [Integrations For a more detailed introduction to Mermaid and some of its more basic uses, look to the [Beginner's Guide](../community/n00b-overview.md) and [Usage](../config/usage.md). -๐ŸŒ [CDN](https://unpkg.com/mermaid/) | ๐Ÿ“– [Documentation](https://mermaidjs.github.io) | ๐Ÿ™Œ [Contribution](../community/development.md) | ๐Ÿ”Œ [Plug-Ins](../misc/integrations.md) +๐ŸŒ [CDN](https://www.jsdelivr.com/package/npm/mermaid) | ๐Ÿ“– [Documentation](https://mermaidjs.github.io) | ๐Ÿ™Œ [Contribution](../community/development.md) | ๐Ÿ”Œ [Plug-Ins](../misc/integrations.md) > ๐Ÿ–– Keep a steady pulse: mermaid needs more Collaborators, [Read More](https://github.com/knsv/mermaid/issues/866). @@ -55,14 +55,14 @@ In our release process we rely heavily on visual regression tests using [applito ### CDN ``` -https://unpkg.com/mermaid@/dist/ +@/dist/ ``` To select a version: Replace `` with the desired version number. -Latest Version: [https://unpkg.com/browse/mermaid@8.8.0/](https://unpkg.com/browse/mermaid@8.8.0/) +Latest Version: [/mermaid@](/mermaid@) ## Deploying Mermaid