switched codeblock lang from enum to string
This commit is contained in:
parent
de4528cf1e
commit
db31e2881e
|
@ -1,7 +1,3 @@
|
||||||
pub enum ProgrammingLanguage {
|
|
||||||
None,
|
|
||||||
}
|
|
||||||
|
|
||||||
pub struct RGBA {
|
pub struct RGBA {
|
||||||
red: u8,
|
red: u8,
|
||||||
green: u8,
|
green: u8,
|
||||||
|
@ -15,7 +11,7 @@ pub struct Header {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct CodeBlock {
|
pub struct CodeBlock {
|
||||||
language: ProgrammingLanguage,
|
language: String,
|
||||||
text: String,
|
text: String,
|
||||||
}
|
}
|
||||||
pub fn parse() {}
|
pub fn parse() {}
|
||||||
|
|
Loading…
Reference in a new issue