Skip to main content

try_render

Function try_render 

Source
pub fn try_render(input: &str) -> Result<String, ParseError>
Expand description

Parse a ChordPro source string and render it to HTML.

Returns Ok(html) on success, or the chordsketch_core::ParseError if the input cannot be parsed.