Skip to main content

Hiding Parent Blocks

When creating cards, parent blocks are shown on the front side for context. Use these tags to control their visibility.

Hide Specific Parent Block

Use #hide-when-card-parent on a parent block to hide it from the front side of cards:

  • Chapter 1: Introduction #hide-when-card-parent
    • What is the capital of Japan? #card
      • Tokyo

The "Chapter 1: Introduction" block will not appear on the card's front side.

Hide All Parent Blocks

Use #hide-all-card-parent on a card to hide all its parent blocks from the front side:

  • Geography
    • Asia
      • What is the capital of Japan? #card #hide-all-card-parent
        • Tokyo

Both "Geography" and "Asia" parent blocks will not appear on the card's front side.

Comparison

TagApplied ToEffect
#hide-when-card-parentParent blockHides that specific parent block from all child cards
#hide-all-card-parentCard blockHides all parent blocks from that specific card

Tips

  • Use #hide-when-card-parent when organizing cards under headings you don't want shown
  • Use #hide-all-card-parent when parent context isn't needed for specific cards
  • Parent blocks still provide organizational structure in Logseq even when hidden in Anki