Merge pull request #3873 from mermaid-js/sidv/jsdelivr

Switch back to jsdelivr
This commit is contained in:
Sidharth Vinod
2022-12-02 13:31:22 +05:30
committed by GitHub
6 changed files with 10 additions and 10 deletions

View File

@@ -46,7 +46,7 @@ import flatmap from 'unist-util-flatmap';
const MERMAID_MAJOR_VERSION = (
JSON.parse(readFileSync('../mermaid/package.json', 'utf8')).version as string
).split('.')[0];
const CDN_URL = 'https://unpkg.com'; // https://cdn.jsdelivr.net/npm
const CDN_URL = 'https://cdn.jsdelivr.net/npm'; // 'https://unpkg.com';
const verifyOnly: boolean = process.argv.includes('--verify');
const git: boolean = process.argv.includes('--git');

View File

@@ -128,7 +128,7 @@ Rendering in Mermaid is initialized by `mermaid.initialize()` call. You can plac
### Adding external diagrams to mermaid
Please refer to the [Mindmap](./mindmap.md?id=integrating-with-your-librarywebsite) section for more information.
Please refer to the [Mindmap](../syntax/mindmap.md?id=integrating-with-your-librarywebsite) section for more information.
### Working Examples