Skip to content

Editor: Show / toggle TOC #3291

Closed
Closed

Description

@tbsbdr

User Story

As a user I want a toc to get an overview of the content.

User Value

navigate large text contents

Acceptance Criteria

  • Add a sticky file-list-2-line icon, optionally with the label "Outlines" (tbd - unsure about that, might be annoying as overlay of the actual text-content)
  • Clicking the icon toggles the visibility of the TOC area, which displays the document headings.
    • All subheadings (h2–h999) are indented by the same amount. For example, h2 and h3 have the same indentation.
    • Clicking a heading in the TOC scrolls to the corresponding section in the document.
  • The currently active heading is visually highlighted in the TOC.
    • The active heading is determined by the current viewport position or cursor position.
    • When scrolling, the highlighted heading updates dynamically to reflect the section currently in view.

visuals

CleanShot.2026-09-02.at.15.20.02-converted.mp4

Activity

  1. tbsbdr commented on Sep 2, 2026

    @tbsbdr
    MemberAuthor

    fyi @JammingBen as discussed, here is a proposal how at TOC could be done

  2. changed the title [-]show/toggle text-outlines (table of contents)[/-] [+]Notes: Show / toggle TOC[/+] on Sep 2, 2026
  3. moved this from Qualification to Backlog in OpenCloud Team Boardon Sep 2, 2026
  4. suse-coder commented on Sep 4, 2026

    @suse-coder

    Can you make it that the toc is default always shown, as one needs it very often to jump. And is it possible to make the toc on the right transparent? And there is lots of space on the right side. Obisidan makes it nice with left side tree of files, middle markdown (click on the part if one want to see the raw markdown), right toc. I personally also like when the numbering 1, 1.1, 1.2 one is able to automatically to generate as it is often easier to see in a large document based on the numbering how it is structured and not based on h1,h2 size. Doing the numbering manually is very hard as when one adds something it does not updates auotmatically.

  5. suse-coder commented on Sep 4, 2026

    @suse-coder
  6. suse-coder commented on Sep 4, 2026

    @suse-coder

    I think that plugins, that one can also self develop, will be very important (like when somebody adds a task as markdown or adds a list item etc). https://opencode.ai/v2/docs is the best new way (its open source) how once develops agentic plugins in a safe and reliable way. It uses also code mode to execute securely js code (basically it has its own DSL for that).

    Effect: https://opencode.ai/v2/docs/build/plugins/effect/

    Some examples: https://github.com/azatakmyradov/opencode-plugins/tree/main

    Basically every company want to use a markdown document, where they can very fast just develop a small plugin that is then called and can do things like call a api or trigger other processes.

  7. suse-coder commented on Sep 6, 2026

    @suse-coder

    You should look at https://quartz.jzhao.xyz/ -> https://github.com/jackyzha0/quartz basically is a very upcoming markdown to website transformer. It is basically what you do to render the markdown with all its features.

  8. changed the title [-]Notes: Show / toggle TOC[/-] [+]Editor: Show / toggle TOC[/+] on Sep 15, 2026
  9. self-assigned this
    on Sep 23, 2026
  10. moved this from Backlog to In Progress in OpenCloud Team Boardon Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions