render_repl_from_script

Function render_repl_from_script 

Source
pub fn render_repl_from_script(
    script: &str,
    style: &StyleSpec,
    layout: &LayoutSpec,
    control: &ControlSpec,
) -> String
Expand description

Render a REPL-style SVG from shell script input.

The script is parsed into a sequence of commands and outputs (e.g. prompt → command → output groups), and each is rendered with consistent spacing and layout.