[#2] Just removing unneeded functions.

This commit is contained in:
2025-08-27 17:42:20 -04:00
parent ab83c7afb6
commit f050a8af3b

View File

@ -1,5 +1,3 @@
//use std::io::Write;
use pulldown_cmark::{html, Parser};
@ -9,21 +7,6 @@ pub enum Converter {}
impl Converter
{
/*
/// Public function to handle file-to-file conversion
pub fn md_to_html(markdown_path: &std::path::Path,
html_path: &std::path::Path)
-> std::io::Result<()>
{
let markdown_content = std::fs::read_to_string(markdown_path)?;
let html_output = Self::markdown_to_html(&markdown_content);
let mut html_file = std::fs::File::create(html_path)?;
html_file.write_all(html_output.as_bytes())?;
Ok(())
}
*/
/// Private function to handle the core conversion logic
pub fn markdown_to_html(markdown_content: &str) -> String
{