pub fn render_tutorial_step<T: Serialize>(
step: &str,
data: &T,
mode: OutputMode,
) -> Result<String>Expand description
Render a tutorial step template with the dodot theme.
mode controls colour output: OutputMode::Term for ANSI in a
real terminal, OutputMode::Text for tests / non-TTY.