Skip to content

Commit

Permalink
docs: add content collections change
Browse files Browse the repository at this point in the history
  • Loading branch information
bholmesdev committed Dec 28, 2022
1 parent 3fa177a commit f82f700
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .changeset/beige-pumpkins-pump.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ export function remarkInjectSocialImagePlugin() {
}
```

## Content Collections - new `remarkPluginFrontmatter` property

We have changed _inject_ frontmatter to _modify_ frontmatter in our docs to improve discoverability. This is based on support forum feedback, where "injection" is rarely the term used.

To reflect this, the `injectedFrontmatter` property has been renamed to `remarkPluginFrontmatter`. This should clarify this plugin is still separate from the `data` export Content Collections expose today.


## Migration instructions

Plugin authors should now **check for user frontmatter when applying defaults.**
Expand Down

0 comments on commit f82f700

Please sign in to comment.