Is there markdown method or api method (using <% %>) to use the newly minted inline view blocks (which are ) ? I noticed that in the UI you can use {{}} to insert them but I don’t know what reference needs to go in between. The markdown exporter doesn’t seem
I have daily notes pages that are generated each day. I would really love to be able to automatically include a table/board view of my tasks and my daily calendar in each dialy notes entity.
Never got time to follow-up. Thanks for reply @Chr1sG but what about inserting through markdown already existing view? I mean not manually by typing “<<” but through automations pre-fill some rich text field with some views?
For example I have some weekly cadence, or sprints if you want, and when new Sprint is created I want to (a) insert into Description already existent view with Sprint tasks…and ideally (b) to programmatically change filtering, so if I have board view filtered by Sprint #1 and I want to insert this view filtered by just created Sprint #2.
Unfortunately not. Markdown doesn’t currently support embedded views.
I assume the Tasks are linked to the Sprint, so you already have a relation view (and can add more variants if needed).
What are the reasons why you want a context filtered view of Tasks in the Description as well?
Thanks for staying in touch! It’s not my main to need to have context filtered view but to generate Description through automation (markdown template) so it contains some particular (already existent) view, thanks!
In that case, probably the easiest thing to do is to add the embedded view to a rich text field in an existing entity, and write a (temporary) script to get the rich text contents in html, e.g.
Then you can write an automation which will populate the rich text field of an entity on creation, using the content that you have just retrieved, e.g.