Skip to content

Commit

Permalink
fix: do not generate extra newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
scarf005 committed Sep 24, 2023
1 parent 170d1bc commit 24f171f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/front_matter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ export const toFrontmatter = (text: string): string => {
---
title: ${heading}
---
${content.join("\n")}
`
${content.join("\n")}`
}

if (import.meta.main) {
Expand Down

0 comments on commit 24f171f

Please sign in to comment.