Here you can find a number of examples that cover various Substance API's. If you are new to Substance, check them out in the following order:
- note - Implement a custom note document
- converter - A simple HTML Importer and Exporter for notes
- notepad - Simple Notepad editor implementation
You can start playing around with the code by cloning this repo and starting the dev server.
$ git clone https://github.com/substance/examples.git
$ npm install
$ npm start
And navigate to http://localhost:5000
A static distribution of the demos can be created by running the bundle command. To adapt the bundling process edit gulpfile.js
.
$ npm run bundle
Please create an issue in the Substance repository.