This directory contains example extensions demonstrating various features of the Voiden SDK.
A simple extension that demonstrates the basics:
- Registering slash commands
- Inserting content into the editor
- Showing toast notifications
Each example is a standalone project. To run an example:
cd examples/hello-world
npm install
npm run buildThen copy the dist folder to your Voiden extensions directory and restart Voiden.
Use these examples as templates for your own extensions. The basic structure is:
- Create a
manifest.jsonwith extension metadata - Create an extension class that extends
UIExtension - Implement the
onLoad()method to register your features - Build and test
See the main SDK documentation for full API reference.