Borderizing Texts by notogawa

main=interact(\s->' ':3`drop`do(c,n)<-zip"_  _"[0..];"\n|"++do a<-words s;c:take(length a)(a>>["_","| ",a,"_|"]!!n)++c:["_|||"!!n])

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page