Skip to content

wesleyel/silverbullet-sortbullet

Repository files navigation

SilverBullet SortBullet

A SilverBullet plugin to sort bullet lists alphabetically, ignoring certain markers.

Features

  • Sorts bullet lists while preserving indentation and hierarchy.
  • Ignores markers like -, *, and + during sorting.
  • Supports nested lists and maintains their structure.

Installation

On SilverBullet v2, this is done by adding "github:wesleyel/silverbullet-sortbullet/sortbullet.plug.js" to the plugs array in your CONFIG page:

config.set {
  plugs = {
    "github:wesleyel/silverbullet-sortbullet/sortbullet.plug.js"
  }
}

Usage

  1. Select the bullet list you want to sort.
  2. Press Ctrl/Cmd + / to open the command palette and run the SortBullet: Sort List command.
  3. The selected list will be sorted alphabetically.

About

A SilverBullet plugin to sort bullet lists alphabetically, ignoring certain markers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published