Skip to content

YU000jp/logseq-plugin-left-sidebar-enhance

Repository files navigation

Logseq Plugin: Left Sidebar Enhance

Note

This plugin works on Logseq db version.

English|日本語 latest release version License Downloads Released: 20231002

Main Features

This plugin provides three main features:

  1. Page Outline (=Table of contents :Auto-generated)
  2. Auto-hide/show Left Sidebar
  3. Date Access (Daily & Monthly)

  1. Page Outline Feature

    • Automatically displays a Page Outline in the left menu, generated from headers in the opened page's content

    (Markdown headers: #,##,###,####,#####,######)

    Quick Actions:

    • Click: Jump to header position
    • Ctrl+Click: Open as zoom page
    • Shift+Click: Open in right sidebar
    • Shortcut keys (MD version only): Alt+1 to Alt+6 to insert headers

    image

  2. Auto-hide Left Menu on Mouse Over (Default: Disabled)

    Use the image button in the top-left corner.

  3. Journal Date Access (Default: Disabled) db version ✖

    • Access to a journal-day or a monthly journal (like yyyy/MM yyyy-MM)

    image


Installation

Install from Logseq Marketplace

  • Click [---] on the toolbar to open [Plugins]. Select Marketplace. Type Left in the search field and select it from the results to install.

Usage

  • Page Outline: When opening any page, the TOC automatically appears in the left sidebar menu.
    • How it works:

      Automatically detects both Markdown (#) and Logseq DB format headers

      • Updates automatically when content changes
      • Click to scroll to header position
    • Note:
      • By default, when opening the journal, it shows a list of dates loaded by scrolling. To view the TOC, open a date page.

      Turn off this option in plugin settings to show header list for the current day's page.

  • Mouse Over: Click the image button in the top-left corner. The left sidebar state will toggle. Shortcut keys work the same way.
  • Use plugin settings to enable/disable each feature.

User Settings

  1. Hide Duplicates in Favorites and History

    • Automatically hides duplicates between favorites and recent items

    Checks for duplicates on plugin startup and every 10 minutes

  2. Left Sidebar Mouse Over Feature

    • Enable/disable auto-show left sidebar on mouse over
    • Select display type: Type A (Corner Hover) or Type B (Edge Hover)
    • Mouse Over Types
      1. Type A: Opens when mouse approaches the left corner area

        ⚠️May cause issues with small windows

      2. Type B (Recommended): Opens when mouse is placed on the leftmost column
  3. Date Selector

    • Enable/disable date selector feature in left sidebar

    Not supported in Logseq db version

  4. Page Outline (Table of contents) Feature

    • Enable/disable Page Outline feature
    • Open as zoom page by default

      If disabled, Ctrl+Click for zoom page view

    • Mouse over highlight feature
      • Highlight corresponding block when hovering over header
      • Highlight corresponding header when hovering over block
    • Show date list in journal pages
    • List of words to exclude from the header list (line-separated)

Showcase / Questions / Ideas / Help

Head to the Discussion tab to ask and find this kind of things.

Related plugins

Prior Art & Credit

About

Logseq plugin to enhance the left menu.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Sponsor this project

  •  

Contributors 3

  •  
  •  
  •  

Languages