Logseq Drawio Plugin
Using drawio diagrams in Logseq.
![example use](https://github.com/lee88688/logseq-drawio-plugin/raw/master/example.gif)
Features
- Create drawio file
- Import exiting drawio file
- Preview in block and in maximize layout
- multiple drawio theme support
- dark mode support
- download drawio file in logseq, both in svg and drawio file
How to get started
- Clone the repository and submodule.
- Make sure you have pnpm installed, install if necessary 🛠
- Execute
pnpm install
📦
- Change the plugin-name in
package.json
to your liking. Adapt both the package-name and the plugin-id at the bottom of the package.json
. Make sure that they are not conflicting with plugins you already installed. 📝
- Execute
pnpm build
to build the plugin 🚧
- Enable developer-mode in Logseq, go to plugins, select "Load unpacked plugin" 🔌
- Select the directory of your plugin (not the
/dist
-directory, but the directory which includes your package.json) 📂
- Enjoy! 🎉