Is there a way to apply unique styles for different lines within a dynamically bound paragraph in TypeScript?
I attempted to split the string variable by line, but encountered tags in my variable. Can someone suggest a method using raw HTML in TypeScript rather than in HTML?
If so, could you provide a TypeScript solution?
Below is an example paragraph that should be styled differently for each line: