This repository contains sample code illustrating the Logseq Plugin API. You can read, play with or adapt from these samples to create your own plugins.
You need to have node and npm(or yarn) installed on your system to run the examples. Then install the latest Logseq Desktop App from here.
git clone https://github.com/logseq/logseq-plugin-samples
- open Logseq Desktop client and turn on
Developer mode
in user settings panel - open the toolbar dot menus and navigate to plugins page
- read the README file of the sample you want to load, then determine if it should be
rebuilt (
npm install && npm run build
) - click
Load unpacked package
button, then select the sample directory to load it
- π± Hello World Sample
- π¨ Custom Theme Sample
- π Journals Calendar Sample
- π Custom Editor Fonts Sample