Squiggly

Syntax

Every form the squiggly parser accepts.

Templates are HTML or text with {{ … }} action delimiters. Inside the action, squiggly accepts an expression, a control-flow keyword, or a tag like partial or define.

Pages

  • Expressions — Substitution, field access, operators, function calls, pipes.
  • Control flow — if / for / with / match — the block forms.
  • Blocks and partials — define / block / partial — composing templates from pieces.
  • Comments — How to leave notes for future-you without affecting the rendered output.