Executable templates and data driven documents

Executable templates where it expands variables (input, data, function) to generate text. It would nullify the need for some plugins.

Also, since we already have a data-store, data variables may continuously be updated as in queries, paving the way for living data driven documents.

For example, entering /template /name input1 input2 would execute:

  • Title
    • some text :(:function :input1 :input2)
    • category: :(:type (:block/property 23))

Resulting in:

  • Title
    • some text GENERATE OUTPUT
      • pretty block generated
      • another pretty block generated
    • category: book

We may denote executable parts with :().

Hello, @c6p!

Take a look at 🏛 Full House Templates plugin and this example :heart:

1 Like

Yes: Synthesis lab - Natural-language programming

It seems synthesis not for me, but I’m curious where you’ll go with it.

Though your kits look incredible! I will try soon.

@stdword, not yet tried, but the extension seems to be what I had in mind. Congrats :clap:

I wish it be a native feature of logseq.

1 Like