feat: input and output file

This commit is contained in:
Justin Lin committed 2025-07-25 02:30:09 +10:00
1 parent 12dcbb460c
commit 3eae45479b
6 files changed
+64 -18

No files matched your search

+1 -1
View File
@@ -29,6 +29,6 @@ func parseDocument(doc string) (frontmatter string, body string, err error) {
return
}
frontmatter = parts[1]
body = parts[2]
body = strings.TrimLeft(parts[2], "\n ")
return
}