diff --git a/recipes/excalidraw/icon.svg b/recipes/excalidraw/icon.svg new file mode 100644 index 000000000..aa629473a --- /dev/null +++ b/recipes/excalidraw/icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/recipes/excalidraw/index.js b/recipes/excalidraw/index.js new file mode 100644 index 000000000..dd41f7287 --- /dev/null +++ b/recipes/excalidraw/index.js @@ -0,0 +1 @@ +module.exports = Ferdium => Ferdium; diff --git a/recipes/excalidraw/package.json b/recipes/excalidraw/package.json new file mode 100644 index 000000000..cb07bd67d --- /dev/null +++ b/recipes/excalidraw/package.json @@ -0,0 +1,10 @@ +{ + "id": "excalidraw", + "name": "Excalidraw", + "version": "1.0.0", + "license": "MIT", + "config": { + "serviceURL": "https://excalidraw.com/", + "hasCustomUrl": true + } +} diff --git a/recipes/excalidraw/webview.js b/recipes/excalidraw/webview.js new file mode 100644 index 000000000..11192196b --- /dev/null +++ b/recipes/excalidraw/webview.js @@ -0,0 +1,9 @@ +function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; +} + +const _path = _interopRequireDefault(require('path')); + +module.exports = Ferdium => { + Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); +};