convert_file_to_html

Function convert_file_to_html 

Source
pub fn convert_file_to_html(
    input_path: &Path,
    output_path: &Path,
) -> Result<(), MarkdownError>
Expand description

Convert markdown file to HTML file. Reads markdown from input path and writes HTML to output path.

§Arguments

  • input_path - Path to markdown file
  • output_path - Path where HTML will be written

§Returns

Ok(()) on success or MarkdownError