Is there for method without a package for coloring parts of a coding block e.g.
```
Enter a 24-hour time: 09:19
Closet departure time is 8:00, arriving at 10:16
```
Outputs the text with no color. When I want to make 09:19 colored red. I cannot use the #text(fill: red) function as the text inside the backtics is treated as a string and the #raw() function accepts strings only. I am aware that I could break this block into lines and color that part only, but its a bit time consuming.
`Enter a 24-hour time:` #text(fill: red)[`09:19`] \
`Closet departure times is 8:00, arriving at 10:16`
#let s = "Enter a 24-hour time: 09:19
Closet departure time is 8:00, arriving at 10:16"
#let r = raw(s, lang: "c")
#repr(r)
#r
#s
#text(font: "DejaVu Sans Mono", size: 0.8em, s)
Then you can use text’s styling to have colored times!