Skip to content

Folder prefix

zamsyt edited this page May 24, 2024 · 3 revisions

Folder prefix.css

Add a hidden prefix to folder names, which can be used to manually rearrange the order of folders.

The prefix is whatever is matched by the ::first-letter pseudo-element.

Punctuation that precedes or immediately follows the first letter is included in the match. Punctuation includes any Unicode character defined in the open (Ps), close (Pe), initial quote (Pi), final quote (Pf), and other punctuation (Po) classes.

Folder-prefix-demo.mp4

Examples of valid prefixes (some silly):

  • A, z, 9, _, π
  • A.
  • (2)
  • *A*
  • ))A()(()(
  • **_********
  • 🏆️, (🤖) (⚠️ An emoji works as a prefix, however, editing the folder name seems to be very glitchy with them)

image

Prefixes with multiple "letters" are not supported:

  • (word)
  • 001
  • (001)

You can use Style Settings to configure when the prefix is shown.

Changelog

  • v0.1.1 - Style the folder prefix in the breadcrumbs at the top of a note
Clone this wiki locally