Closed n-raghu closed 8 years ago
What should app
be? in your case it will be nothing
because a for loop always returns nothing
. You might want to use join(map(string, stack), "\n")
instead.
You don't need import Escher: @api, render
or using FactCheck
Thank you, shashi, it works. Even though, we use "\n", I don't see a carriage return applied, all the docs get piled up. Any work around for this?
vbox(map(string, stack))
should do it. Or vbox(intersperse(vskip(1em), map(string, stack)))
to give some space between them.
perfect vbox(map(string, stack)) works for me. Thanks for the quick solution.
Hi, I have created below sample code to display mongo collection in browser but could not succeed. Can someone identify where am I doing wrong?
edit: formatting