pub fn to_html(entry: Option<&str>, title: &str, editor: Option<&str>) -> StringExpand description
Render the pipeline rooted at entry (or the alphabetically first jig if
None) as a complete HTML document. title is shown in the page header
and <title> tag.
editor is an optional URL template containing {path} and {line}
placeholders. When set, the sidebar’s file location becomes a link using
the resolved template; when None, it renders as plain text. Common
templates:
- VS Code / Cursor / Windsurf:
vscode://file/{path}:{line} - VSCodium:
vscodium://file/{path}:{line} - JetBrains IDEs:
idea://open?file={path}&line={line} - Sublime Text:
subl://{path}:{line} - TextMate:
txmt://open/?url=file://{path}&line={line}