template String
fun templateString(string: String, onErrorAction: () -> Unit, templateAction: (String) -> String): String
Template the given string string using templateAction.
Parameters
string
The string to template. It doesn't necessarily have to be HTML
on Error Action
Runs when the Kotlin templated area is unclosed.
template Action
Given what the template contains, returns what it should be replaced with.