#[derive(Debug, Clone)]
pub enum Block {
Heading(u8, String), Paragraph(String),
List(Vec<String>), CodeBlock(String),
}
#[derive(Debug, Clone)]
pub struct Document {
pub blocks: Vec<Block>,
}
impl Document {
pub fn new() -> Self {
Document { blocks: vec![] }
}
}