diff --git a/recipes/diagrams/icon.svg b/recipes/diagrams/icon.svg new file mode 100644 index 000000000..e30a4f68a --- /dev/null +++ b/recipes/diagrams/icon.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/recipes/diagrams/index.js b/recipes/diagrams/index.js new file mode 100644 index 000000000..dd41f7287 --- /dev/null +++ b/recipes/diagrams/index.js @@ -0,0 +1 @@ +module.exports = Ferdium => Ferdium; diff --git a/recipes/diagrams/package.json b/recipes/diagrams/package.json new file mode 100644 index 000000000..323c799dc --- /dev/null +++ b/recipes/diagrams/package.json @@ -0,0 +1,9 @@ +{ + "id": "diagrams", + "name": "Diagrams", + "version": "1.0.0", + "license": "MIT", + "config": { + "serviceURL": "https://app.diagrams.net/" + } +} diff --git a/recipes/diagrams/webview.js b/recipes/diagrams/webview.js new file mode 100644 index 000000000..11192196b --- /dev/null +++ b/recipes/diagrams/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')); +};