hypra

LEX-002: unterminated string

Error: the page doesn't build until this is fixed.

A string is missing its closing ". Strings end on the line they start; text over several lines goes between """.

Fails

page(title: "Shoes", description: "All our running shoes, from light racers to trail shoes.") {
  h1 "Shoes"
  p "Free returns within 30 days.
}
error[LEX-002]: unterminated string
 --> page.hypra:3:5
  |
3 |   p "Free returns within 30 days.
  |     ^
  = help: close the string with `"` on the same line, or use """ for text over several lines
  = docs: https://hypralang.dev/rules/lex-002/

1 error, 0 warnings

Fixed

page(title: "Shoes", description: "All our running shoes, from light racers to trail shoes.") {
  h1 "Shoes"
  p "Free returns within 30 days."
  p """
    Every pair ships in 2 days.
    Returns are free.
    """
}