Hey Zef, do you think it is easier to accept the valid lua file instead of embed in the markdown block so we can use our own editor with completion and other functionalities?
Out of couriosity I did a few experiments with LUA in Silverbullet and despite having pretty small knowledge about it, yet, I like it very much!
Especially the Widget style is very handy (in fact, I missed something like that before).
And defining global functions is much more easy now, too.
However, I did not get, how to access objects like page, tags, tables, own objects and so on.
Could you please add some examples to the space-lua-documentation, too?
Oh, I was afraid, that you answer something like that
So I have to be patient…
But I’m absolutely looking forward to use LUA instead of template language (which in my eyes is a bit complicated) and concentrate on only one language for “everything” (at least within Silverbullet).