You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the current alpha version of @nuxt/content v3, it seems that hooks have been removed, and accessing the raw content of files has become impossible without them (which, to be fair, didn’t work properly in v2 either). For certain use cases, it is crucial to retrieve the raw file content before parsing it with parseMarkdown() or other custom transformations.
This feature has been a recurring request in the community, as evidenced by issues like #2803 and #2490. Adding a direct method or option to retrieve the raw file content would enhance the flexibility of the module and cater to advanced use cases.
Use Case
In my specific case, I need to process the raw file content in my page before parsing it with parseMarkdown().
The text was updated successfully, but these errors were encountered:
Description
In the current alpha version of
@nuxt/content
v3, it seems that hooks have been removed, and accessing the raw content of files has become impossible without them (which, to be fair, didn’t work properly in v2 either). For certain use cases, it is crucial to retrieve the raw file content before parsing it withparseMarkdown()
or other custom transformations.This feature has been a recurring request in the community, as evidenced by issues like #2803 and #2490. Adding a direct method or option to retrieve the raw file content would enhance the flexibility of the module and cater to advanced use cases.
Use Case
In my specific case, I need to process the raw file content in my page before parsing it with
parseMarkdown()
.The text was updated successfully, but these errors were encountered: