Info |
---|
title | Engine Compatibility |
---|
|
The Node Pico Engine supports the beesting operator in extended quotes, and does not suffer from the parser limitation on expressions using the right curly brace, } , in the expression. |
KRL extended quotes support the beesting operator, making them simple templating systems. Inside an extended quote, expression values can be referenced using the #{<expr>}
syntax. For example, suppose you've stored 10 and 20 in the variables a
and b
:
Code Block |
---|
language | javascript |
---|
theme | Confluence | language | javascript |
---|
|
somevar = <<
The average of #{a} and #{b} is #{(a+ b)/2}
>>; |
...