pub fn to_session(preset: &Preset) -> SessionExpand description
A preset as the session it builds.
The scripts are REPL lines because that is how the REPL loads them; anything outside a terminal
(the MCP server, the docs) wants the session, or the page crate::sketch::render makes of it.