/stencila:render
Render the document given in $ARGUMENTS (first argument is the input;
any further arguments are output paths, e.g. report.html report.pdf).
Use the stencila CLI path reported in session context; otherwise
${CLAUDE_PLUGIN_OPTION_STENCILA_PATH} if set, else stencila. If no CLI
is available, point the user at /stencila:doctor and stop.
NO_COLOR=1 <stencila> render <input> [outputs...] --yes
- With no output paths, this executes the document and saves it in place.
- Document parameters go after
--:... --yes -- --year=2024. - Useful flags:
--force-all(re-execute everything),--theme <THEME>,--ignore-errors(render despite failing chunks).
Afterwards:
- If execution errors were reported, quote the first error, identify the
offending chunk in the source, and offer to fix it (see the
executionskill for how errors cascade). - If rendering succeeded, confirm which outputs were written.
Report the diagnostic, not the raw wall of output.