use serde_yaml;usethiserror::Error as E;/// A specialized [`Result`] type for markdown operations.
////// [`Result`]: https://doc.rust-lang.org/std/result/enum.Result.html
pubtypeResult<T>=std::result::Result<T, Error>;/// An enum contains all errors that might occur.
#[derive(Debug, E)]pubenumError{/// Error when parsing the frontmatter YAML.
#[error("(de)serializing error: {0}")]
FrontMatterError(#[from]serde_yaml::Error),}