pub fn render(baseline: &[u8], repo: &str, style: Option<Style>) -> Vec<u8> ⓘExpand description
Substitute the landing parameters into a rendered file’s bytes.
The repository’s owner — the project path’s first segment — replaces
every OWNER occurrence, the one scope shape replaces the scope
token, and the recorded style replaces the style token. The scope
shape rests on no parameter, so it substitutes always. An unresolved
style leaves its token standing, which only a preview renders under:
an apply refuses before reaching here.