implement multiline text

Added an option to provide literal newline escape sequence "\n" to text
input which get converted into newlines internally. Adjusted
documentation, demo, and tests to cover it.