feat: Implement Table of Contents (TOC) for editor

Adds a document navigation feature that parses markdown headers and displays them in a side panel.

  • Add TocModel C++ class to parse headings from the QTextDocument and expose them to QML.
  • Add Kirigami.OverlayDrawer in EditPage.qml to display the TOC structure.
  • Add a toggle button in the header toolbar to open/close the TOC.
  • Implement click-to-navigate functionality enabling jumps to specific cursor positions.
  • Configure drawer layout to respect the global header and floating bottom toolbar, ensuring no UI elements are obstructed.
  • Add a "Close" button within the drawer for improved mobile and desktop usability.

Video -

Untitled_video_-_Made_with_Clipchamp

Merge request reports

Loading