The string Expression

Syntax

  set x to "foo"
  set y to 'bar'
  set foobar to `$foo$bar`

Description

String expressions are similar to string expressions in javascript, and support both a quote and double quote delimiter.

Hyperscript supports template literals like in Javascript by using the back-tic character, and you can use either a $ or ${} to include an expression value in the template.

Note that in some places you can use "naked strings", which are strings that do not have a starting quote or double quote.
Instead they are delimited by whitespace: /example

Examples

<div _="on click log 'hello world'">Hello World!</div>