Skip to content

Commit

Permalink
edit: runnin runnin and runnin runnin and runnin runnin
Browse files Browse the repository at this point in the history
Co-authored-by: Yan Thomas <[email protected]>
  • Loading branch information
bholmesdev and yanthomasdev authored May 18, 2023
1 parent 0cac3a6 commit b6f0e48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/docs/en/guides/content-collections.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -740,5 +740,5 @@ const { remarkPluginFrontmatter } = await blogPost.render();
<p>{blogPost.data.title} — {remarkPluginFrontmatter.readingTime}</p>
```

The remark and rehype pipelines only runs when your content is rendered, which explains why `remarkPluginFrontmatter` is only available after you call `render()` on your content entry. In contrast, `getCollection()` and `getEntry()` cannot return these values directly because they do not render your content.
The remark and rehype pipelines only run when your content is rendered, which explains why `remarkPluginFrontmatter` is only available after you call `render()` on your content entry. In contrast, `getCollection()` and `getEntry()` cannot return these values directly because they do not render your content.

0 comments on commit b6f0e48

Please sign in to comment.