You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-29 22:48:10 +02:00
Desktop, Mobile: Resolves #2001: Added Mermaid diagrams support
commit ae8a0641ab3681a3b25f6dc4ac40f20d52aaeb4d Author: Laurent Cozic <laurent@cozic.net> Date: Tue Feb 11 17:58:08 2020 +0000 Fixed plugin asset commit 03adf7fc7c878f82f6a43515d37fd5e3dd59390f Author: Laurent Cozic <laurent@cozic.net> Date: Mon Feb 10 22:09:18 2020 +0000 Desktop: Adding Mermaid support
This commit is contained in:
@@ -23,6 +23,9 @@ async function main() {
|
||||
|
||||
await copyFile(`${rootDir}/node_modules/highlight.js/styles/atom-one-light.css`, 'highlight.js/atom-one-light.css');
|
||||
await copyFile(`${rootDir}/node_modules/highlight.js/styles/atom-one-dark-reasonable.css`, 'highlight.js/atom-one-dark-reasonable.css');
|
||||
|
||||
await copyFile(`${rootDir}/node_modules/mermaid/dist/mermaid.min.js`, 'mermaid/mermaid.min.js');
|
||||
await copyFile(`${rootDir}/MdToHtml/rules/mermaid_render.js`, 'mermaid/mermaid_render.js');
|
||||
}
|
||||
|
||||
main().catch((error) => {
|
||||
|
||||
Reference in New Issue
Block a user