The Markdown-based reference platform.
- Clone this repo.
- Run
npm install
(oryarn
). - (optional) Run
npm test
(oryarn test
). (requiresnpm install -D
oryarn -D
). - Run
npm start
, and start exploring!
In the root of this repo, there's a default ref/
folder. That is the place where all your references are and will be!
Catalogs are folders inside the folder, and the ref/
folder is the root catalog. The references are the Markdown files inside of catalogs.
In the internals of Candy, we don't use extensions for references, since all of them are Markdown files. So when you're trying to read a reference through Candy, remember that you only need to enter the filename without the extension.
Candy doesn't have any way to control it's references through itself by default. You need to get other packages, like candy-cli, or candy-web (coming soon).
All of Candy's "control packages" use WebSockets to communicate with your instance of Candy.
When you start Candy with npm start
, what you do, is start a WebSocket server. Candy has two websocket commands (for now): reference, and list.
To learn more about these commands, and building your own control packages, check out the Candy wiki.