Skip to content

Commit

Permalink
fix(ssg): 🐛 fix formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienrousseau committed Sep 11, 2024
1 parent 2ca7c99 commit 13a8218
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions ssg-core/src/modules/frontmatter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ use yaml_rust2::YamlLoader;
///
/// ### Arguments
///
/// * `content` - The string of content to extract front matter from
/// (e.g. a Markdown file)
/// * `content` - The string of content to extract front matter from (e.g. a Markdown file)
///
/// ### Returns
///
Expand Down Expand Up @@ -72,8 +71,7 @@ pub fn extract(content: &str) -> HashMap<String, String> {
///
/// ### Arguments
///
/// * `content` - The string of content to extract front matter from
/// (e.g. a Markdown file)
/// * `content` - The string of content to extract front matter from (e.g. a Markdown file)
/// * `start_delim` - The start delimiter of the front matter
/// * `end_delim` - The end delimiter of the front matter
///
Expand All @@ -99,8 +97,7 @@ pub fn extract_front_matter_str<'a>(
///
/// ### Arguments
///
/// * `front_matter_str` - The string of front matter to parse into a
/// `Yaml` object
/// * `front_matter_str` - The string of front matter to parse into a `Yaml` object
///
/// ### Returns
///
Expand Down

0 comments on commit 13a8218

Please sign in to comment.