Typewriter Effect - Break Lines?

Hi there, I am trying to break lines within the typer writer effect code I found by using
and have not been able to get it to work.

Ideally, I would have something like this:

Currently Reading:

BOOK 1
BOOK 2

But write now it is breaking lines at random points. Any suggestions?

});

let i = 0, interval = 100, pause = 5000;
const text = "(Currently reading) Call Down the Hawk by Maggie Stiefvater How to Make it in the New Music Business by Ari Herstand";
const runTyping = (ms) => setTimeout(() => showText(), ms);
function showText(){
    $w("#text5").text = text.slice(0, i);
    i = (i + 1) % (text.length + 1);
    i > 0 ? runTyping(interval) : runTyping(pause);
}
$w.onReady(() => runTyping(interval));

Don’t use
. Use “\n”