feat: markdown implementation
#18
1 changed files with 2 additions and 1 deletions
|
@ -31,12 +31,13 @@ impl FrontMatter<'_> {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Default, Deserialize)]
|
||||
#[derive(Default, Deserialize, Content)]
|
||||
pub struct FileMetadata {
|
||||
pub title: Option<String>,
|
||||
pub link: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Content)]
|
||||
pub struct Metadata {
|
||||
pub info: FileMetadata,
|
||||
pub mermaid: bool,
|
||||
|
|
Loading…
Reference in a new issue