Skip to content

AirParty/siyuan-plugin-fold-button

Repository files navigation

useage 中文

  1. set any block as a collapse button useage
  2. collapse List with doubleclick listuseage

how to use

fold next block

Press the / key and select 'Collapse Next Block' from the menu.

Clicking the button that has been set for 'Collapse Next Block' will trigger the collapse operation for the next content block, including multiline text, embedded blocks, super blocks, and lists.

custom

  1. get ID which target block
  2. add attribute 'fold' to button are.paset blockID in 'fold'. howToUse

List

  1. doubleclick on any list cell if it have child

update history

  • v0.1 new
    • v0.1.1 upgate url
    • v0.1.2 highlight button on click
    • v0.1.3 fold List with double click
      • v0.1.3.2 fix Update Bug.
  • v0.2 Add a / menu option for 'Collapse Next Block,' now the collapse operation can directly control the next content block.
    • v0.2.1 Fix the issue with the '/' menu not working; collapsing the next section can now affect both code blocks and databases.