Sticky Markdown headings on scroll

The way VSCode does it (see doc).
All visible:


H1 no longer in view but appears in sticky.

H2 no longer in view either and appears in sticky as well.

EDIT: I’m willing to do this myself but I’m new to Obsidian and before I attempt to make a plugin I would love for somebody to tell me if the plugin system current supports this type of functionality or not.

Thanks all for the time.

3 Likes

I suspect you could do this in a CSS snippet without even needing a plugin.

It looks like someone was nice enough to make a plugin here — Releases · imshenshen/obsidian-sticky-heading · GitHub

Just download the three files and put them into a new plugin folder you created.

  1. create folder .obsidian\plugins\obsidian-sticky-heading
  2. download 3 files and put them inside, main.js, manifest.json, and styles.css
  3. relaunch obsidian
  4. activate