Skip to content

Sidebar

Starlight provides sidebar, but it has issues:

  • it doesn’t preserve state (scroll, open/closed submenues) on page switch
  • not possible to have root page for submenues

There are workarounds:

Further improvements

Starlight provides configurable sidebar, which is good enough for documentation. For digital garden we may want to use different approach, for example:

Articles grouped by tags

  • Directory#code-fences
    • Diagrams_support_in_markdown
    • Syntax_Highlighting
  • Directory#component
    • Icons
    • Lazy_embeded_video

Articles grouped by date

  • Directory2024
    • Directory03
      • Directory31
        • Sidebar
      • Directory30
        • Anchors_for_headings
        • GFM_aside
      • …
  • Directory2023
    • …

Alphabetical list

  • DirectoryA
    • Alphabetical_index
    • Anchors_for_headings
  • DirectoryB
    • Backlinks
    • BrainDB