You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-12-08 23:07:32 +02:00
All: Resolves #163: Added Mermaid support to desktop and mobile
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
// React Native WebView cannot load external JS files, however it can load
|
||||
// arbitraty JS via the injectedJavaScript property. So we use this to load external
|
||||
// files: First here we convert the JS file to a plain string, and that string
|
||||
// is then loaded by eg. the Mermaid plugin, and finally injected in the WebView.
|
||||
|
||||
const fs = require('fs-extra');
|
||||
|
||||
const cwd = process.cwd();
|
||||
|
||||
Reference in New Issue
Block a user