diff --git a/src/lib.rs b/src/lib.rs index 122a66a..d35bea2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -15,15 +15,27 @@ pub struct CodeBlock { text: String, } -pub struct Emphasis { +pub struct StyledText { italic: bool, bold: bool, + underline: bool, + color: Option, + text: String, } pub struct Blockquote { level: u8, + text: String, } +pub enum Node { + Header(Header), + Paragraph(Vec), + HRule, +} + +pub struct Document(Vec); + // TODO: able take care of lists i am too drunk for this tonight pub enum ListType {