Skip to main content

render

Function render 

Source
pub fn render(input: &str) -> String
Expand description

Parse a ChordPro source string and render it to plain text.

This is a convenience wrapper around try_render that converts parse errors into a human-readable error string. Because success and failure both return a String, callers cannot distinguish between them programmatically — use try_render if you need error handling.