Storing results as opposed to searching them in real time at every search is the appeal to me, as well as using Obsidians own query language.
But I don’t use any plugins yet, because I’m looking for a stable one to restructure my notes (creating automatic indices) around its feature set. Expander lacks convenience for me to jump ship just yet. Looking forward to any future developments in this or any other plugin.

Just added “Expand all” functionality which should expand all blocks in the file. One after another.

@Jeffurry I saw your post here.

Can I help you with the Expand plugin?

Thanks @mrjackphil - your generous offer prompted me to have another go - and I managed to get a result! If I run into difficulties integrating the result into my workflow, I may take advantage of you later - if that is OK.
Cheers

1 Like

Sure. Ping me if you need any help. Here or in Discord.

Added ability to extract the headings


and blocks

Also, it will not open or toggle tabs on the left panel

2 Likes

It looks really interesting :slight_smile:

Isn’t it on the community plugin directory yet ?

Its on the community plugin directory:
image

Does your plugin support any boolean functions in the query? I’m trying this but it doesn’t return any results. If I remove AND “Conan the Barbarian (1970)” it works fine.

```expander
	tag:#comic/issue AND "Conan the Barbarian (1970)"
```

@Spidrax It uses the Obsidian Search functionality for this.

So all those functionality available:
https://help.obsidian.md/Plugins/Search

1 Like

0.9.0 Update

  • Auto expand the feature. Automatically expands all queries on the page when opening a file
  • Ability to include a current note in search results (I suggest increase delay, because search functionality can use cache and will duplicate results)
  • $match template sequence which returns a matched text (helpful when use regexp)
  • $match:header template sequence which returns a link to the closest header which have the matched text
  • $header now return links and not the content of headings
  • Add sequence list in settings
3 Likes

Yes, I have installed it today and I love it! Please don’t leave it :blush:

This plugin is exactly what I am looking for to build my Obsidian recipe “database” . I might need some help constructing the right way of searching for things (in the future), but that is mainly because I am relatively new to Obsidian itself.

1 Like

Does $match support several matches, or only one?

I’d like to extract - via regex - several dataview properties with Expander

(why? because I want the “hard-coded” content, real links that update, not the preview-only dataview)

Wonderful plugin! Can I make a feature request? :grin:

I just created a few expander searches and then realized afterward that they were all out of order. Well, they are probably sorted by creation time or update time, but what would be amazing would be to have the option of sorting by daily note tags.

Example:

  • I have several journal entries/blog posts/whatever that all contain links like [[2021-09-21]] on the first line. Can Expander detect those and sort the results accordingly?

… after writing this I’m realizing that this is probably a feature request for Obsidian search, not for Expander.

I actually can’t remember the reason why I did that. I can return it as an extension for the $heading sequence.

I think the idea was about using transclusion to reduce text duplication.

I had an idea of the separate plugin which gets the content of all transclusion and return one markdown file.

There is even a prototype called copy to markdown but there is no functionality what you need, currently.

It makes sense, thanks. I would glad to return that functionality. It’s all about the time. I hope I’ll find some to improve the plugin.

Please also keep heading transclusion functionality :smiley:

1 Like

Hi there,

this looks like it might solve a problem I have trying to search for and return blocks, but I can’t get the syntax to work. let’s say I have a paragraph such as this:

really exciting and interesting quote that is also too long to show up in it’s entirety in the search results. #interesting

I have a search query

line: (> #interesting)

which finds two entries in the search sidebar, one for the quote marker ‘>’ and one for the tag. What I would like is to display the entire quote, and only if it has the quote marker AND a particular tag (or combination of tags).

What would be even better is if I could nest the tags (and keywords etc) underneath the quote, so that I can display/transclude the quote only without the tags.

But first things first, how do I get to see the quote in the search result instead of just the tag? I’ve tried:

line: (> #interesting)
$match

but that didn’t work…where am I going wrong?

You could try

line:(>) AND tag:(interesting) 

(works also without AND)