Skip to main content

replace_progress_section

Function replace_progress_section 

Source
pub fn replace_progress_section(
    readme: &str,
    markdown: &str,
) -> Result<String, ReadmeSectionError>
Expand description

Replaces the content between standalone progress markers.

ยงErrors

Returns an error if the markers are missing, duplicated, or reversed, or if the replacement contains a progress marker.