Not sure if it works in Jupyter, but try display(Text("foo\nbar\nbaz")).
display(Text("foo\nbar\nbaz"))