# Embed in Markdown Template

**URL:** <https://community.fibery.io/t/embed-in-markdown-template/4978>\
**Category:** Misc\
**Created:** [August 18, 2023, 3:57pm UTC](https://community.fibery.io/t/embed-in-markdown-template/4978 "2023-08-18T15:57:05Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![dukevannori](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@dukevannori](https://community.fibery.io/u/dukevannori)\
**Post date:** [August 18, 2023, 3:57pm UTC](https://community.fibery.io/t/embed-in-markdown-template/4978/1 "2023-08-18T15:57:05Z")

</div>

is it possible to use embeds (of views) in the markdown template?

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [August 18, 2023, 4:14pm UTC](https://community.fibery.io/t/embed-in-markdown-template/4978/2 "2023-08-18T16:14:59Z")

</div>

Do you mean that you want to write markdown (in an automation action?) which will convert to a view when it is rendered?

---

<div class="post-metadata">

**Author:** ![dukevannori](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@dukevannori](https://community.fibery.io/u/dukevannori)\
**Post date:** [August 18, 2023, 4:30pm UTC](https://community.fibery.io/t/embed-in-markdown-template/4978/3 "2023-08-18T16:30:53Z")

</div>

in my daily notes i want to have a filtered view of tasks that are due today.

i would solve that with a view that does that. i know how to embed that by hand… but can’t find the correct code in the docs to do that in an automation

---

<div class="post-metadata">

**Author:** ![Matt\_Blais](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/matt_blais/32/1464_2.png) [@Matt\_Blais](https://community.fibery.io/u/Matt_Blais)\
**Post date:** [August 18, 2023, 4:41pm UTC](https://community.fibery.io/t/embed-in-markdown-template/4978/4 "2023-08-18T16:41:20Z")

</div>

I am also very interested in how a script could **generate embedded views in a Rich Text** (via markdown or otherwise).

This capability would provide a workaround to the limitation that [embedded view filters cannot reference “this entity”](https://community.fibery.io/t/in-embedded-views-allow-filtering-on-relation-fields-for-is-this-entity/3635).

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [August 18, 2023, 8:09pm UTC](https://community.fibery.io/t/embed-in-markdown-template/4978/5 "2023-08-18T20:09:57Z")

</div>

It sounds like you wish to write markdown that will generate and embed a view (not just embed an existing view).  
In the short-term, I think it is unlikely that this will become possible, since it would require making available an accessible syntax for describing/specifying a view and all its settings (type of view, data source, filters, fields-to-show, sorting, colour coding…)  
Having said that, with the advances in AI, it might turn out that creating a view by describing it (without a formal syntax) could be an option.

---

<div class="post-metadata">

**Author:** ![dukevannori](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@dukevannori](https://community.fibery.io/u/dukevannori)\
**Post date:** [August 18, 2023, 8:51pm UTC](https://community.fibery.io/t/embed-in-markdown-template/4978/6 "2023-08-18T20:51:03Z")

</div>

What I want to do is embed a predefined view. So nothing fancy 😉

---

<div class="post-metadata">

**Author:** ![Matt\_Blais](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/matt_blais/32/1464_2.png) [@Matt\_Blais](https://community.fibery.io/u/Matt_Blais)\
**Post date:** [August 18, 2023, 9:25pm UTC](https://community.fibery.io/t/embed-in-markdown-template/4978/7 "2023-08-18T21:25:13Z")

</div>

There is an [API for views](https://api.fibery.io/#update-views), but it’s not clear if it only refers to the old notion of “view” that was specifically about Documents.

---

<div class="post-metadata">

**Author:** ![dukevannori](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@dukevannori](https://community.fibery.io/u/dukevannori)\
**Post date:** [August 24, 2023, 10:30am UTC](https://community.fibery.io/t/embed-in-markdown-template/4978/8 "2023-08-24T10:30:16Z")

</div>

(sorry this note is a bit rumbly… will have to edit later)

> [@Chr1sG](#):
>
> It sounds like you wish to write markdown that will generate and embed a view (not just embed an existing view).

" i do want exactly that" is what i wanted to write … but yes … you are complete right, that it would have to have properties set related to the date of the file …

for this example for the daily note to see at one glance what is due today would be enough to go the predefined route - as it does not matter if i open up an old day and the tasks are not really related to that day particulartly … i have a view of tasks filtered by “all due before today” and i want that to be part of my daily note that is created by an automation every day.

BUT:  
i would just find it handy to have this dashboard like view of a day where i also can interact and put information that is less than an entity and also not worth a single document them selves. and to have them as “notes of the day” in relation with all the mails and stuff as well … and for that the doc needs to define the filtered things … ah this is a bit more complicaated than i thought

right now i link meetings and emails that are from this day with relationsships to this daily note … but this is already a bit much data squished into a cell that could be solved with a simple filtered embed too … as long as the filter can take a value of the current file (mail.creation date = dailynote.creation date)

i could introduce a relationship to all tasks and then filter by date … but I don’t think this is a good solution as it would make all tasks related to every day … even with auto-link this would put A LOT of data inside the cells which would not be needed

so how to do this dashboard view of things? including buttons and stuff … so the way would be to create a single “daily note master” and then embed filtered views that are taking the current date as filter “is today” … and also include an embed of a daily note as a feed … or something like that … I will figure it out 🙂
