# Element Content Hypertext literal provides interpolation via `$`. Within element content, the ampersand (`&`), less-than (`<`), single-quote (`'`) and double-quote (`"`) are escaped. using HypertextLiteral book = "Strunk & White" @htl "Today's Reading: $book" #-> Today's Reading: Strunk & White Julia expressions can be interpolated using the `$(expr)` notation. @htl "2+2 = $(2+2)" #-> 2+2 = 4 To include `$` in the output, use `\$`. Other escape sequences, such as `\"` also work. @htl "They said, \"your total is \$42.50\"." #-> They said, "your total is $42.50". Within tripled double-quotes, single double-quoted strings can go unescaped, however, we still need to escape the dollar sign (`$`). @htl """They said, "your total is \$42.50".""" #-> They said, "your total is $42.50". In this document, we discuss interpolation within regular tagged content. Interpolation within attribute values and within `")" #-> Julia #38501 was fixed in v1.6. #? VERSION >= v"1.6.0-DEV" @htl "$("escape&me")" #-> escape&me