Templates builtins
5 builtins of Soma 3.2.4 in the category Templates, with their exact signatures, as soma describe --builtins --json prints them.
load_template
load_template(path: String, key, value, ...) -> StringRead a file and substitute each {key} placeholder with its value.
load
load(path: String, key, value, ...) -> StringAlias of load_template.
include
include(path: String, key, value, ...) -> StringAlias of load_template.
render
render(template: String, key, value, ...) -> StringSubstitute {key} placeholders in an in-memory template string.
render_each
render_each(rows: List<Map>, template: String) -> StringRender the template once per row, substituting {field} from each map.