diff --git a/src/lib.rs b/src/lib.rs index 6f22d37..b74c5bd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -15,9 +15,11 @@ pub struct CodeBlock { text: String, } -pub struct Emphasis { +pub struct StyledText { italic: bool, bold: bool, + underline: bool, + color: Option, text: String, } @@ -26,6 +28,14 @@ pub struct Blockquote { 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