Fields of type reference
should be able to embed their data
#86
Labels
feature
New feature or request
Given the following config:
And the following content files:
content/categories/a.md
content/docs/index.mdx
The output document would have the following:
It would be nice to (optionally) embed the category data directly in the output document. Otherwise, I have to defer that logic to my application. Being that it's data manipulation, it seems right that Contentlayer would handle this.
I'd rather see the output like this:
The text was updated successfully, but these errors were encountered: