# Embed search

**URL:** <https://forum.obsidian.md/t/embed-search/12837>\
**Category:** Help\
**Created:** [February 11, 2021, 8:51pm UTC](https://forum.obsidian.md/t/embed-search/12837 "2021-02-11T20:51:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lanalang](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/l/ed655f/32.png) [@Lanalang](https://forum.obsidian.md/u/Lanalang)\
**Post date:** [February 11, 2021, 8:51pm UTC](https://forum.obsidian.md/t/embed-search/12837/1 "2021-02-11T20:51:02Z")

</div>

I’m rather new to Obsidian , and still trying to grasp everything.  
Can someone explain how to embed searches. I found this in the help file, but don’t really get it : Embed search results

You can embed search results in a note.

For example, if you write:

````auto
```query
embed OR search

````

```auto
You should see this embedded search view 

```

embed OR search

```auto

I can get it to write just that. But where do I go from there?
```

---

<div class="post-metadata">

**Author:** ![ryanjamurphy](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ryanjamurphy/32/334_2.png) [@ryanjamurphy](https://forum.obsidian.md/u/ryanjamurphy)\
**Post date:** [February 11, 2021, 9:40pm UTC](https://forum.obsidian.md/t/embed-search/12837/2 "2021-02-11T21:40:38Z")

</div>

The Vantage plugin is designed to help you create (and embed) complex searches.

In general, though, any query you run via the conventional search box can be written in a “code fence” with the “query” type. In other words, on the middle line here:

````auto
```query
{search goes here}
\```

````

(Without the backslash on the last line. I can’t get Discourse to render this appropriately… 🤬)

---

<div class="post-metadata">

**Author:** ![Lanalang](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/l/ed655f/32.png) [@Lanalang](https://forum.obsidian.md/u/Lanalang)\
**Post date:** [February 11, 2021, 11:16pm UTC](https://forum.obsidian.md/t/embed-search/12837/3 "2021-02-11T23:16:10Z")

</div>

Thx. I managed to make it work. I think I had too many spaces or indents. Now its working. Thx for taking the time to help.

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [April 1, 2023, 1:41pm UTC](https://forum.obsidian.md/t/embed-search/12837/4 "2023-04-01T13:41:55Z")

</div>

Closed on April 1, 2023, 1:41pm UTC


