Skip to content

FR: Persistent Heading Level Indicators in Edit Mode #452

@LeonelRFF

Description

@LeonelRFF

Hello Akifyss,

I absolutely love the Border theme; its design is exceptional, and the customization via Style Settings is fantastic.

I would like to request a feature to improve navigation and readability of extensive notes. Currently, in edit mode (Live Preview/Source mode) and Reading view, heading level indicators (e.g., "H1", "H2", "H3") only appear on the left side of titles when hovered over. It would be useful if these indicators could always remain visible, perhaps with a reduced opacity so they are not intrusive.

Reasons for this request:

  • Constant Reading Orientation: I often scroll through long notes without a specific "jump-to" goal, but rather to read and understand the flow of the content. In these cases, it's crucial to quickly know which heading level I am currently under to maintain context, without constantly hovering my cursor.
  • Complement to Outline: While the "Outline" panel is excellent for structured navigation (jumping to sections), it doesn't serve the purpose of providing a continuous visual reference of the current heading's hierarchy while actively reading.
  • Content Processing: This is particularly valuable when working with text extracted from PDFs or other sources, where the original structure is vital for comprehension and contextualization.

Context:

I've noticed that the theme already includes a heading-indicator-off option in Style Settings (Editor > Headings). This option seems to manage the colored accent bar (the ::before pseudo-element with background-color and content: " "). However, the "H1", "H2", etc., text that appears on hover seems to be Obsidian/CodeMirror's native indicator, and not a theme creation that can be directly controlled by Style Settings.

Suggestion:

It would be ideal if a new option could be added to Style Settings (perhaps under the Editor or Headings section) such as "Always show heading text indicators" (or similar). This option could control the opacity and visibility of the native .cm-header-indicator elements (or the relevant pseudo-element) to ensure they are always visible. This would significantly enhance the reading experience for those who prioritize continuous structural awareness.

Best regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions