chore: clean-up
This commit is contained in:
@@ -1 +1,6 @@
|
||||
pub mod npf;
|
||||
|
||||
#[derive(Clone, Debug, clap::ValueEnum)]
|
||||
pub enum Formats {
|
||||
NPF,
|
||||
}
|
||||
|
||||
@@ -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 => {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
use std::borrow::{Borrow, BorrowMut};
|
||||
use std::cell::RefCell;
|
||||
|
||||
use serde_yaml as yaml;
|
||||
|
||||
@@ -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)]
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user