Right now this plugin has one purpose: to create some text that includes a Github issue title and a link to the issue. This is primarily meant to be used to set up Tasks in Amplenote that link to the corresponding issue in Github.
- Install the plugin from the Amplenote Plugin Directory
- On the page where you want the link, add text defining the owner and repo with a label of
Github Project:
- e.g.
Github Project: darthmachina/amplenote-github
- e.g.
- Wherever you want the title and link, type the issue number
- Select the issue number
- From the toolbar select
Github Issue Link
from the right most button menu - Sit back and watch the magic
Written in plain Javascript, residing in the lib/plugin.js
file.
Run NODE_OPTIONS=--experimental-vm-modules npm test
to run the tests.
If it complains about jsdom being absent, run npm install -D jest-environment-jsdom
and try again.
NODE_OPTIONS=--experimental-vm-modules npm run test -- --watch