meshup/src/lib.rs

37 lines
457 B
Rust
Raw Normal View History

pub struct RGBA {
red: u8,
green: u8,
blue: u8,
alpha: u8,
}
pub struct Header {
label: String,
level: u8,
}
2021-11-25 19:04:42 -06:00
pub struct CodeBlock {
language: String,
2021-11-25 19:04:42 -06:00
text: String,
}
pub struct Emphasis {
italic: bool,
bold: bool,
}
pub struct Blockquote {
level: u8,
}
// TODO: able take care of lists i am too drunk for this tonight
2021-11-27 21:33:07 -06:00
pub enum ListType {
Ordered,
Unordered,
}
pub struct List {}
pub fn parse() {}