hugo/docs/content/en/quick-reference/glossary/raw-string-literal.md
2025-08-23 12:39:28 +02:00

408 B

title reference
raw string literal https://go.dev/ref/spec#String_literals

A raw string literal is a character sequence between backticks, as in `bar`. Within the backticks, any character may appear except a backtick. Backslashes have no special meaning and the string may contain newlines. Carriage return characters (\r) inside raw string literals are discarded from the raw string value.