/logseq-preview-footnote

Float preview logseq footnote

Primary LanguageTypeScriptMIT LicenseMIT

logseq-preview-footnote plugin

English | 中文 | 日本語

Provides previews of footnotes.

Overview

  • When the cursor hovers over a footnote in content, it previews the content in the heading block.
  • Copying and displaying content that should be displayed in another block.

Dependencies

  • Logseq plugin > logseq-footnotes-plugin (form Logseq Marketplace)
    • A plugin that provides a slash command ( "/Add Footnote" ) for creating footnotes. Runs at the current cursor position and creates a heading in the footnote block.

Usage

  1. Install Preview Footnote plugin (form Logseq Marketplace)
  2. Create a footnote in a block somewhere.
  3. Hover your mouse over a footnote to see a preview

Demo

  • From creating a footnote to displaying a preview

    image

.mp4 movie

Plugin Settings

  • Expand the block that starts with "## Footnotes"

    • To show the preview, the block must be expanded. Automatically expand the block.
    • true default
    • false
  • Close the preview when mouse leaves it

    • If this setting is disabled, the preview will not disappear. You will need to close it manually. This setting has no effect after 4 seconds.
    • false default
    • true
  • Mouse leave ms delay (The shortest time to disappear)

    • Delay before closing the preview.
    • 600
    • 800
    • 1000
    • 1200 default
    • 1400
    • 1600
    • 1800
    • 2000
    • 2500
  • Limit the number of previews to one

    • false > You can display multiple previews.
    • true default
    • false
  • Close the preview when opening another page

    • false > The preview will be retained even if you open another page.
    • true default
    • false
  • Maximum width of the preview

    • 200px < 1200px
    • 600 default
  • Enable YouTube preview optimization

    • true default

Info

License > MIT

Author > @b-yp