From f050a8af3be7bcbebbcd1e98ba7682ea1088bb80 Mon Sep 17 00:00:00 2001 From: Myrddin Dundragon Date: Wed, 27 Aug 2025 17:42:20 -0400 Subject: [PATCH] [#2] Just removing unneeded functions. --- src/converter.rs | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/converter.rs b/src/converter.rs index 1f3433b..dc7ed2c 100644 --- a/src/converter.rs +++ b/src/converter.rs @@ -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 {