We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc75377 commit 0bf33a6Copy full SHA for 0bf33a6
script.js
@@ -76,6 +76,7 @@ function streamMessage(cssClass, text) {
76
msg.classList.add("message", cssClass);
77
chat.appendChild(msg);
78
79
+ // Splits tekst in regels
80
const lines = text.split("\n").filter(line => line.trim() !== "");
81
82
const isNumberedList = lines.length > 1 && lines.every(line => /^\d+\.\s+/.test(line.trim()));
@@ -98,6 +99,7 @@ function streamMessage(cssClass, text) {
98
99
}
100
}, 200);
101
} else {
102
+ // Toon gewone tekst met typewriter-effect
103
let index = 0;
104
const interval = setInterval(() => {
105
if (index < text.length) {
0 commit comments