Is it possible, with Macros, to run a db query for a block-id an build the {{embed ((block-id))}} inside a page?

In Generate explicit hierarchy out of properties:

  • advanced queries are defined as simple strings
  • macros accept parameters
  • the queries are executed passing those parameters as inputs

If we come with a nice generic design, all the pieces are there, it only remains to connect them (e.g. the config file is too heavy, queries don’t belong there). If you are interested, I can open a separate thread, and leave this one for the embedding part.

1 Like