Skip to content

Outliner-like breadcrumb trees for search, backlinks and embedded queries

License

Notifications You must be signed in to change notification settings

cakechaser/better-search-views

 
 

Repository files navigation

Better Search Views

Warning

  • You need to reload Obsidian after you install/update/enable/disable the plugin
  • The plugin reaches into Obsidian's internals, so it may break after an update. If you noticed that, please create an issue

How to use it

Just install it and reload Obsidian. Now Obsidian's built-in global search, backlinks and queries should be decorated with breadcrumbs.

What it does

The plugin brings more outliner goodness into Obsidian: it improves search views to create an outliner-like context around every match.

  • It patches native search, backlinks view, embedded backlinks and embedded queries
  • It renders markdown in the match to HTML
  • It builds structural breadcrumbs to the match by chaining all the ancestor headings and list items above
  • If the match is in a list item, it displays all the sub-list items below it
  • If the match is in a heading, it displays the first section below the heading (you know, for context)

Global search looks like this

image image

And here's backlinks in document

image

Embedded queries

image

Clicking on breadcrumbs works just as you might expect

image

Hovering over any element with the control key pressed triggers a pop-up

image

Contribution

If you noticed a bug or have an improvement idea, please create an issue.

Pull-requests are welcome! If you want to contribute but don't know where to start, you can create an issue or write me an email: [email protected].

You can also support the development directly:

Buy Me A Coffee

Acknowledgements

About

Outliner-like breadcrumb trees for search, backlinks and embedded queries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 62.4%
  • JavaScript 29.6%
  • CSS 8.0%