How to get a function to print stuff with REPL-like formatting

Thanks @stevengj, MWE for reference below:

function printout(x)
    show(stdout, "text/plain", x)
end

check = rand(2,10);

printout(check);

Array{Float64,2}:
0.833317  0.0797113  0.305283  0.848721  0.897141  0.99114   0.694138  0.28158    0.82193   0.520097
0.187817  0.439049   0.922296  0.141583  0.172123  0.244657  0.720784  0.0473979  0.610638  0.941219