diff --git a/src/lib.rs b/src/lib.rs index 2111de8..2ca2b65 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -17,9 +17,11 @@ pub struct CodeBlock { text: String, } -pub struct Emphasis { +pub struct StyledText { italic: bool, bold: bool, + underline: bool, + color: Option, text: String, } @@ -28,6 +30,7 @@ pub struct Blockquote { text: String, } +<<<<<<< HEAD pub struct Link { text: String, url: Url, @@ -40,9 +43,23 @@ pub struct Image { title: Option, link: Option, } +======= +pub enum Node { + Header(Header), + Paragraph(Vec), + HRule, +} + +pub struct Document(Vec); +>>>>>>> d808ae46ad469d6024e76ad006f7b3e0832fe8cb // TODO: able take care of lists i am too drunk for this tonight +pub enum ListType { + Ordered, + Unordered, +} +pub struct List {} pub fn parse() {}