{"_id":"docsify-mermaid","_rev":"3-d42b3651b6f5a6b747a77ef2659966e4","name":"docsify-mermaid","dist-tags":{"latest":"2.0.1"},"versions":{"1.0.0":{"name":"docsify-mermaid","version":"1.0.0","description":"A plugin to render mermaid diagrams in docsify","browser":"src/index.js","scripts":{"build":"parcel build src/index.js --out-file docsify-mermaid.js --no-minify","example":"npm run build && docsify serve example/ --open","test":"echo 'No test to run'"},"repository":{"type":"git","url":"git+https://github.com/Leward/mermaid-docsify.git"},"keywords":["docsify","mermaid","diagram"],"author":{"name":"Paul-Julien Vauthier"},"license":"ISC","bugs":{"url":"https://github.com/Leward/mermaid-docsify/issues"},"homepage":"https://github.com/Leward/mermaid-docsify#readme","devDependencies":{"docsify-cli":"^4.4.0","parcel-bundler":"^1.12.4"},"gitHead":"6cd7a2680c83929de114ba839a441dc7a05fcefa","_id":"docsify-mermaid@1.0.0","_nodeVersion":"13.11.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-KytoHFO0Geo+qgl3UjH5s8Y5sl0JSN61PKosbsM0TfeywhwT9EktYOTlic1KBzLmbopotrz2pw6QTiFAMbdv6w==","shasum":"9c11aa9dab44664a5ae3f7d6fdc87aa33751a6d0","tarball":"https://registry.npmjs.org/docsify-mermaid/-/docsify-mermaid-1.0.0.tgz","fileCount":7,"unpackedSize":9715,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJerjN9CRA9TVsSAnZWagAAjV0P/3l7DOZGON1gnBJ3nkmA\nniSBMV2StCg8Q5aBWH5jywoRc4DB6iBw/qztwZH1PSiimxkn4VEN94WiZc5r\n8wLj0J/5RVLvd6q/NEJ3DLEnDKDDgiKXMYuYhUpahzs5ZKhHCa/nOzLAu8O4\n5L5NKkMguX50a9yryi3KSAyaxiRZ+GQkYPB4f5qVHt1rmncGc2PQa+peK3je\n6UV9WoXOJsO3XjnX5w8mGer6x2s3havzzVFHeNjIgb/Zkgw5HjKLszZKcLB6\ntOk3OvoS9feyzz6k/6lVqr+2FBU2vC6p+vpA1wuvPe6q9A/qdMVe+JIUQKB+\n6aHMi8yJcIb4dNyRbYOWLTtPSH8dLUJrP7ssYB5h2Siv3U2oBSj8TOyyaXOj\n0faXi29FEke0MkccJpn0rE2/riqtyROrvxIk8OMVWyyh8xqqsbDjmntnN3Ip\nWjq2qwBCBHhV3j7IUctjWHP7is9+v57BECPVy/Nekve3zkpYy7gGVtwrCDWW\nN+T8lWm/sh7ius0BpqVL1erxVEi9Bh0gBR28SxL2oskNOL6wZdElUEHhKJ3s\nsohb5qYTxbjpms2yB+jivTFJ/wajdZhZuc8rlV4xoMNhO2sE/KmzeoLhb4Cd\n7W1fro8KADxHo/ViY9e8mcfWpnjg9HqdLF04ue2Gyu7WhhxxCTtfiyn1HuKo\n4mqQ\r\n=r+Y5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIwCY5+SDgdB4m4RevZieP+YTHK3dIcDennEdesscIXwIgdddNvhL/YywdF/TDf1/tWaqE4o/NIEIXhisxqW2K0vo="}]},"maintainers":[{"name":"leward","email":"pj.vauthier@gmail.com"}],"_npmUser":{"name":"leward","email":"pj.vauthier@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/docsify-mermaid_1.0.0_1588474749309_0.0582724609595866"},"_hasShrinkwrap":false},"2.0.0":{"name":"docsify-mermaid","version":"2.0.0","description":"A plugin to render mermaid diagrams in docsify","browser":"src/index.js","scripts":{"build":"parcel build src/index.js --out-file docsify-mermaid.js --no-minify","example":"npm run build && docsify serve example/ --open","test":"echo 'No test to run'"},"repository":{"type":"git","url":"git+https://github.com/Leward/mermaid-docsify.git"},"keywords":["docsify","mermaid","diagram"],"author":{"name":"Paul-Julien Vauthier"},"license":"ISC","bugs":{"url":"https://github.com/Leward/mermaid-docsify/issues"},"homepage":"https://github.com/Leward/mermaid-docsify#readme","devDependencies":{"docsify-cli":"^4.4.0","parcel-bundler":"^1.8.1"},"gitHead":"b9c7d60d1012a31e9fcfd9f04f38855d4f538d9d","_id":"docsify-mermaid@2.0.0","_nodeVersion":"14.21.3","_npmVersion":"8.5.5","dist":{"integrity":"sha512-EbU8lBpcri8Byyb7Ecr86M/721+phUVepL7dgomKrzNsOp8UwgZ7aJoBXsXLOJqQUVbGdd7nYREEpEZGkRnDpA==","shasum":"26dac09969bf7226d16c188d58ad78dc309f08bf","tarball":"https://registry.npmjs.org/docsify-mermaid/-/docsify-mermaid-2.0.0.tgz","fileCount":6,"unpackedSize":10651,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCAZWCgOFYzI7/UHG7azvu3vVGwMyna/RtJZ9fwy95KTAIgIqkpzZcRkUBJ5wQaWqLPCeeIaWHkCLDbbBQZ5a8IYnE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCUcSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqYQA/9F02/n7mT7AnlktGwXHw6QvnKVgfYIKtv+h7udJVUUHueHuTt\r\nLuEK8A1EvvW4pnAg8c8EdGyX5AvCwgDcAB/bSqMfwlTV5qtWPCQsDJ98Bv3Q\r\nsoeVJgcjlyXsJCrGstZ3TEcNyznJpu7bDRn5UxnBqOZ64R5vY3f3UvQODkHg\r\neKDXS64u/xISjaP0h8ZibBRMiVgzUJFzUmrgZTkMvP1n+1Ct+pxqcttiAMl9\r\nKsPQo4ilhJKNKn4UrcP2CW/iPXwjZoPC1jsu5dQ09xMgod5C8eXqnL2P0XQO\r\nYiBrlhgVndklF1CJev0t0DmqOBq1Q/qVE6j5w18ztz/+UC+K5ir4a98I42T5\r\nLRR7zpbEVaVYlWc3OxGRypvYuLfHxa/n/And9dvnquPRVnbK1UHJK0ZWRHIt\r\nq5SLLSWRWBZSA/Us8m5YVEhCy4PbXwSmr9o/ni5nWhl9WRmM1lUWKPfh09Qr\r\nFluDTdMWR/aineBQe6cwoupq8E/IRTs4e9YWvbxESkp60ubhfunXVsbknAx8\r\nrDTLorSd77wmio/UUnOURCfFvU4t7md0+ewHrAuWOe0FOfAKkS4G5ZyPh3R2\r\nD8CpcSTrQX6ZkUtNM5L0UFFjVThoVzelCoKahkhrL2ajCYG8cgIP6PgOCZxV\r\n+/OHyvMgWiA1JAW86ciaxKn96afIrsJj+os=\r\n=qPeR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"leward","email":"pj.vauthier@gmail.com"},"directories":{},"maintainers":[{"name":"leward","email":"pj.vauthier@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/docsify-mermaid_2.0.0_1678329618823_0.7771351128275472"},"_hasShrinkwrap":false},"2.0.1":{"name":"docsify-mermaid","version":"2.0.1","description":"A plugin to render mermaid diagrams in docsify","browser":"src/index.js","scripts":{"build":"parcel build src/index.js --out-file docsify-mermaid.js --no-minify","example":"npm run build && docsify serve example/ --open","test":"echo 'No test to run'"},"repository":{"type":"git","url":"git+https://github.com/Leward/mermaid-docsify.git"},"keywords":["docsify","mermaid","diagram"],"author":{"name":"Paul-Julien Vauthier"},"license":"ISC","bugs":{"url":"https://github.com/Leward/mermaid-docsify/issues"},"homepage":"https://github.com/Leward/mermaid-docsify#readme","devDependencies":{"docsify-cli":"^4.4.0","parcel-bundler":"^1.8.1"},"gitHead":"7bbdb6a407f112e3c84353cd6008a9c1c633674e","_id":"docsify-mermaid@2.0.1","_nodeVersion":"18.12.1","_npmVersion":"9.2.0","dist":{"integrity":"sha512-Ikaf/+uox/kQ2SqQuXXPKSlZeSoAU4clmsyI6ygGxQ5UAVq1cVfTwjWGovCcuc0vi7xl4V67Yy8XFy7Gdur9SA==","shasum":"8d81a11b353916a76faee1b7640ff03e254cf9c9","tarball":"https://registry.npmjs.org/docsify-mermaid/-/docsify-mermaid-2.0.1.tgz","fileCount":7,"unpackedSize":13461,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH2b5/Yhqq2vCggf6pi65NN6bGnyd/q3UdSKggEC05eBAiBf9WgA1/wvgz/zggpMWj2T1x8doBomvJBiNhJ0Z2VxvQ=="}]},"_npmUser":{"name":"leward","email":"pj.vauthier@gmail.com"},"directories":{},"maintainers":[{"name":"leward","email":"pj.vauthier@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/docsify-mermaid_2.0.1_1688356824402_0.6219997324772404"},"_hasShrinkwrap":false}},"time":{"created":"2020-05-03T02:59:09.309Z","1.0.0":"2020-05-03T02:59:09.414Z","modified":"2023-07-03T04:00:24.684Z","2.0.0":"2023-03-09T02:40:18.951Z","2.0.1":"2023-07-03T04:00:24.568Z"},"maintainers":[{"name":"leward","email":"pj.vauthier@gmail.com"}],"description":"A plugin to render mermaid diagrams in docsify","homepage":"https://github.com/Leward/mermaid-docsify#readme","keywords":["docsify","mermaid","diagram"],"repository":{"type":"git","url":"git+https://github.com/Leward/mermaid-docsify.git"},"author":{"name":"Paul-Julien Vauthier"},"bugs":{"url":"https://github.com/Leward/mermaid-docsify/issues"},"license":"ISC","readme":"mermaid-docsify is a docsify plugin which allows to render mermaid diagrams in docsify.\n\n## How to use\n\nAdd Mermaid and the plugin:\n\n```html\n  <script type=\"module\">\n    import mermaid from \"https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs\";\n    mermaid.initialize({ startOnLoad: true });\n    window.mermaid = mermaid;\n  </script>\n  <script src=\"//unpkg.com/docsify-mermaid@2.0.0/dist/docsify-mermaid.js\"></script>\n```\n\nYou can optionally customize [mermaid.run](https://mermaid.js.org/config/usage.html#using-mermaid-run) configuration with this props :\n\n```html\n  <script>\n    window.$docsify = {\n      mermaidConfig: {\n        querySelector: \".mermaid\"\n      }\n    };\n  </script>\n```\n\nNow you can include mermaid diagrams in your docsify docs:\n\n    ```mermaid\n    graph LR\n        A --- B\n        B-->C[fa:fa-ban forbidden]\n        B-->D(fa:fa-spinner);\n    ```\n\nA demo is available on [Codepen](https://codepen.io/leward/project/editor/AyegJW).\n\n![Docsify with mermaid Screenshot](screenshot.png)\n","readmeFilename":"README.md"}