I can't test this because I'm on a mac and getting Growl notifications from jetpack.notifications.show
, and Growl constrains the width, but try changing myBody
to this:
var myBody = line1 + '\n' + line2 + '\n' + line3 + '\n' + line4;
The line breaks do show up for me, so this might be what you're looking for.
EDIT: This does not work for the Windows toast notifications, so it doesn't answer the question. However, it will show newlines in Growl notifications for Mac OS X, so I'm leaving this answer up.