render

~

render template with |string| interpolation


Parameters

render template :string :literal :pathliteral

Attributes

oncedon't render recursively
templaterender as a template

Returns

  • :string
  • or  :nothing

Examples

copy
x: 2 greeting: "hello" print ~"|greeting|, your number is |x|" ; hello, your number is 2

Related