Skip to content

YU000jp/logseq-plugin-side-block

Repository files navigation

Logseq Plugin: Side Block 🥦

English / 日本語

  • Places bullet blocks on the left and right. If tag parent blocks, its descendant blocks are placed next to it.

Normally, it can be applied as custom CSS, but we have made it a plugin to make it easier to use.

latest release version License Downloads Published 2023/10/15

Overview

  • If attach a specific tag to a parent block, child blocks will be placed next to it.

The tags are hidden except when editing.

スクリーンショット 2023-10-13 144110


Getting Started

Not supported > Bullet Threading plugin cannot be used at the same time

Install from Logseq Marketplace

  • Press [---] on the top right toolbar to open [Plugins]. Select marketplace. Type Side in the search field, select it from the search results and install.

Usage

  • Tag the parent block.

    Tags containing .side are displayed only when editing.

Either of the following methods:

  1. From toolbar
    • Operate from the toolbar button. When the button click, a popup show.

      First, the button is hidden by Logseq. Click this button (icon) on the toolbar. And select this (image). After that, the #️⃣ button will appear on the toolbar.

    • Insert tags directly into the block from the popup.
  2. Tag directly
    • Add a specific tag to the parent block.
      • #.side: width unset
      • #.side-s: width 100px
      • #.side-m: width 200px
      • #.side-l: width 300px
      • #.side-ll: width 400px
      • #.side-lll: width 500px

From the second time onwards, Type a space and #., suggestions will be displayed.


Showcase / Questions / Ideas / Help

Go to the discussion tab to ask and find this kind of things.

  1. Showcase > Use it by embedding it in a template.
  2. Install as custom CSS without this plugin
  3. This plugin relies on Logseq's DOM (Document Object Model) structure. If the DOM structure changes due to a Logseq version update, styles may not be applied. We will adjust the CSS to deal with it. If you notice something, please raise an issue.
  4. Similar functionality is implemented in another plugin too.

Prior art & Credit

CSS code > @alexl

Icon > icooon-mono.com

Author > @YU000jp