chore: clean-up

This commit is contained in:
Gustavo "Guz" L. de Mello
2024-04-29 16:04:07 -03:00
parent 48d4b0eb99
commit bd5e9a48be
5 changed files with 5 additions and 8 deletions

View File

@@ -1 +1,6 @@
pub mod npf;
#[derive(Clone, Debug, clap::ValueEnum)]
pub enum Formats {
NPF,
}

View File

@@ -74,7 +74,6 @@ impl<'a> TryFrom<&'a Node<'a, RefCell<Ast>>> for objects::Post {
NodeValue::Document => Self::try_from(node.children()),
NodeValue::Paragraph => {
let p = Self::try_from(node.children())?.fold_content();
println!("{p:#?}");
Ok(p)
}
NodeValue::BlockQuote => {

View File

@@ -1,4 +1,3 @@
use std::borrow::{Borrow, BorrowMut};
use std::cell::RefCell;
use serde_yaml as yaml;

View File

@@ -7,7 +7,6 @@ use clio::Input;
use mdparser::convert;
use mdparser::frontmatter::Frontmatter;
use mdparser::links;
use mdparser::utils;
#[derive(Parser, Debug)]
#[command(version = "0.1", about = "", long_about = None, propagate_version = true)]

View File

@@ -1,7 +1,3 @@
use std::cell::RefCell;
use comrak::nodes::NodeValue;
pub fn default_options() -> comrak::Options {
let mut opts = comrak::Options::default();
@@ -73,4 +69,3 @@ where
}
None
}