diff --git a/readme.md b/readme.md index d2171bb..f2718e4 100644 --- a/readme.md +++ b/readme.md @@ -68,11 +68,11 @@ foo: # This is some markdown `; -const { frontmatter, markdown } = process_frontmatter(raw_content); +const { frontmatter, document } = process_frontmatter(raw_content); console.log(frontmatter.title); // "Example Markdown with front matter" console.log(frontmatter.foo); // [ "bar", "baz" ] -console.log(markdown); // "\n# This is some markdown\n" +console.log(document); // "\n# This is some markdown\n" ```