# Variables Inserting a variable into a template mimics what you would expect from a Python f-string. ## Insert Value Into Template In this case, `name` comes from the immediate scope: ```python name = "tdom" result = html(t"
Hello {name}
") assert str(result) == '
Hello tdom
' ``` ## Passed-In Prop Here, `name` is passed into a function: ```python def hello(name: str) -> Template: return html(t"
Hello {name}
") result = hello("tdom") assert str(result) == '
Hello tdom
' ``` ## Unsafe Values TODO: write this section `tdom` now builds on top of [MarkupSafe](https://markupsafe.palletsprojects.com/en/stable/).