Add Kino.Shortcuts (or Kino.Shorts if we want to be cheeky)
josevalim opened this issue · comments
A module we can import with convenience functions to building text, markdown, mermaid, image, tree, frame, etc. This is so we can write:
text("Hello")
Instead of:
Kino.Text.new("hello")
Hey @josevalim, I would love to help with this task. Since I never did it before, could you help me with some directions?
I'm thinking about to use defdelegate in the Kino.Shorts module.
What about it?
Hi @marcospgsilva , that would be the way to go but note that we have not decided if we are going ahead with this feature or not, so it is best to wait for now!
We also want to do read_text
, read_image
, etc to provide easy APIs for reading inputs. :)
Closing in favor of the PR!