Skip to content

Commit c85688c

Browse files
committed
docs: add content collections change
1 parent 18b70f9 commit c85688c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.changeset/beige-pumpkins-pump.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ export function remarkInjectSocialImagePlugin() {
2020
}
2121
```
2222

23+
## Content Collections - new `remarkPluginFrontmatter` property
24+
25+
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.
26+
27+
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.
28+
29+
2330
## Migration instructions
2431

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

0 commit comments

Comments
 (0)