@ensko wrote a great post about this topic here:
Using that post as a guide, something like this should work for your case:
#let words = ("ipsum", "sit")
#show regex(words.join("|")): set text(red)//Change font here
#lorem(10)
@ensko wrote a great post about this topic here:
Using that post as a guide, something like this should work for your case:
#let words = ("ipsum", "sit")
#show regex(words.join("|")): set text(red)//Change font here
#lorem(10)