My collection of data strings looks something like this:
data(){
return(){
{name:"example", title:"exampleTitle", desc:"exampleDescription exampleDescription ....."},
{name:"example2", title:"example2Title", desc:"exampleDescription2 exampleDescription2....."}
}
}
I am looking to format certain parts of the "desc" strings as bold or a link. I attempted to achieve this with the following code snippet:
{name:"example", title:"exampleTitle", desc:"exampleDescription exampleDescription ....."},
{name:"example2", title:"example2Title", desc:"<p> <b>exampleDescription</b> exampleDescription..... </p>
However, I received an error message indicating that I need to use JSX or TypeScript. Despite my search efforts, I couldn't find any relevant information on how to proceed. Is there a way I can accomplish this task using these technologies? Or are there alternative methods available?