Skip to content

Tagirijus/HeadingsPicker

Repository files navigation

Headings Picker

With this plugin you will get a picker in Silverbullet with which you can select a heading from the active page. By choosing one of those headings the cursor will jump to this position then.

By default I set Ctrl+r as the key shortcut for this plugin, since in Sublime Text this also brings up a similar "headings picker".

Build

To build this plug, make sure you have SilverBullet installed with Deno. Then, build the plug with:

deno task build

Or to watch for changes and rebuild automatically

deno task watch

Then, copy the resulting .plug.js file into your space's _plug folder. Or build and copy in one command:

deno task build && cp *.plug.js /my/space/_plug/

SilverBullet will automatically sync and load the new version of the plug, just watch the logs (browser and server) to see when this happens.

Installation

If you would like to install this plug straight from Github, make sure you have the .js file committed to the repo and simply add

- github:Tagirijus/HeadingsPicker/headingspicker.plug.js

to your PLUGS file, run Plugs: Update command and off you go!

About

A plugin for Silverbullet with which you get a list of all headings to choose from

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •