No description
Find a file
2026-05-12 10:14:15 -04:00
.github ci: fix publish workflow's pnpm setup and skip redundant lint 2026-05-12 09:48:29 -04:00
scripts build: migrate to ESLint 9 flat config with eslint-plugin-obsidianmd 2026-05-12 09:11:53 -04:00
src feat: add Body option to the heading-marker menu 2026-05-12 09:57:15 -04:00
.env.example build: Add build:local script for installing into a local vault 2026-05-04 20:10:08 -04:00
.gitattributes feat: Add gutter elements with menu for switching heading level 2022-03-14 14:15:05 -04:00
.gitignore build: Add build:local script for installing into a local vault 2026-05-04 20:10:08 -04:00
.nvmrc build: pin Node to >=22.9.0 2026-05-12 08:56:09 -04:00
.prettierrc feat: Add gutter elements with menu for switching heading level 2022-03-14 14:15:05 -04:00
AGENTS.md docs: Add AGENTS.md, BUILD.md, and CONTRIBUTING.md 2026-05-04 16:22:49 -04:00
BUILD.md docs: Add AGENTS.md, BUILD.md, and CONTRIBUTING.md 2026-05-04 16:22:49 -04:00
CHANGELOG.md chore(release): 0.1.10 2026-05-12 10:14:15 -04:00
CONTRIBUTING.md docs: Add AGENTS.md, BUILD.md, and CONTRIBUTING.md 2026-05-04 16:22:49 -04:00
esbuild.config.mjs build: drop CM5-era and unused externals from esbuild config 2026-05-12 08:53:54 -04:00
eslint.config.mts build: migrate to ESLint 9 flat config with eslint-plugin-obsidianmd 2026-05-12 09:11:53 -04:00
LICENSE feat: Add gutter elements with menu for switching heading level 2022-03-14 14:15:05 -04:00
manifest.json chore(release): 0.1.10 2026-05-12 10:14:15 -04:00
package.json chore(release): 0.1.10 2026-05-12 10:14:15 -04:00
pnpm-lock.yaml build: replace standard-version with commit-and-tag-version 2026-05-12 10:13:37 -04:00
README.md docs: Update README 2026-05-12 09:37:35 -04:00
styles.css fix: Change alignment for rtl mode 2024-07-17 14:26:27 -04:00
tsconfig.json build: bump TypeScript to 5.6.3 and modernize tsconfig 2026-05-12 08:40:26 -04:00
versions.json chore(release): version 0.1.2 2024-07-17 11:39:36 -04:00

Lapel

Dress up your editor. Lapel shows a marker next to each heading to quickly distinguish between heading levels.

lapel-overview

Features

  • Shows the heading level in the editor gutter (e.g. h1, h2, h3, etc.)
  • Menu for quickly switching the heading level.

Customization

Each heading level can be targeted separately with CSS for easy customization. For example, if you want all H6s to look like burger menus, simply change the heading marker:

.cm-heading-marker[data-level="6"] {
  --heading-marker: "☰";
}

Settings

  • Show before line numbers: By default, heading levels are displayed after the line number in the editor gutter. Enable this to swap the ordering.
  • Show in source mode: Optionally show the heading levels in source mode.

Say Thanks 🙏

If you like this plugin and would like to buy me a coffee, you can!

BuyMeACoffee