now working

This commit is contained in:
2016-11-14 13:04:25 +01:00
parent ef3f1a3188
commit a1fec28d18
5 changed files with 29 additions and 20 deletions

View File

@@ -49,5 +49,5 @@ export let parse = (stringToParse: string): IParsedFM => {
* add frontmatter to a string
*/
export let stringify = (bodyString: string, frontmatterData: any) => {
grayMatter.stringify(bodyString, frontmatterData)
return grayMatter.stringify(bodyString, frontmatterData)
}