Skip to content

feat(tui): add toggle for heading markers in outline sidebar#57

Merged
nicholasjpaterno merged 1 commit into
Epistates:mainfrom
alisaifee:outline-titles
Jun 5, 2026
Merged

feat(tui): add toggle for heading markers in outline sidebar#57
nicholasjpaterno merged 1 commit into
Epistates:mainfrom
alisaifee:outline-titles

Conversation

@alisaifee

Copy link
Copy Markdown
Contributor

Why

I noticed that the headings in the outline were always explicitly prefixed with the level * #

I'm not sure if this is a feature you'd want with since the implementation was explicit, but for my own use case I found it easier to view the outline without the prefix - so thought maybe others might want the option.

Change

Added an option to show/hide the # markers.

By default the behaviour is the same as it used to be (show)

  • New outline_heading_markers config option
  • :toggle heading markers palette command to show/hide #/##/###
  • # keyboard shortcut for the same as above

Demo

outline

New `outline_heading_markers` config option and `:toggle heading markers`
palette command to show/hide #/##/### level prefixes in the outline
(default: true).
@alisaifee alisaifee marked this pull request as ready for review June 2, 2026 20:14
@nicholasjpaterno

Copy link
Copy Markdown
Contributor

Thanks for the contribution, @alisaifee! Nice clean implementation that threads through all the right layers. Merging.

@nicholasjpaterno nicholasjpaterno merged commit 4ef6a41 into Epistates:main Jun 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants