Typing HTML with proper parsing and sanitization
const typer = new TypeMorph({ parent: "target", speed: 40, parseHtml: true, }); typer.type("<strong>This is bold text</strong> and <em>this is italic</em>");