How can I format strings gotten from a dictionary?

Hi @AMendoza, thank you for your question! I have changed your post’s title to bring it in line with the question guidelines and thus make it easier to understand from the title:

Good titles are questions you would ask your friend about Typst.

I also added the scripting tag, as it makes your question easier to find.