Skip to main content

render_source

Function render_source 

Source
pub fn render_source(source: &str, ctx: &Value) -> Result<String>
Expand description

Render an inline source string (no file lookup) through the same runtime pipeline. @extends / @include inside the inline source resolve via the loader against the disk views root, identical to render.