Skip to main content

render_message

Function render_message 

Source
pub fn render_message(config: &Config, ctx: &Context) -> RenderResult
Expand description

Picks the active template and renders it against ctx.

A message input is passed through verbatim: no substitution, no escaping. That is deliberate — it is the escape hatch for text the caller has already formatted, and it is why the docs warn that placeholders do not work there.