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 :().