Retain/remember status of “Backlinks in document”

thanks this is great

rather have always collapsed only, than collapsable but manual every time.
updated the CSS, to also hide the arrow.

  1. Place a CSS file in your vault in /.obsidian/snippets.
/* backlinks in document - hide expanded parts */
.search-result-file-matches {
    display: None !important;
}

/* backlinks in document - keep the font color grayish instead of white */
.tree-item-self {
    color: var(--nav-item-color) !important;
}

/* hide all arrows, since collapsable arrows don't work anymore */
.search-results-children .tree-item-icon.collapse-icon {
  display: none;
}
  1. enable this in settings
  2. nice always collapsed
    image