Commenting out the reference to this module results in the /example route to start working again. The /example route is sourced by a custom transformer (./my-transformer.js), as documented here: https://content.nuxt.com/recipes/transformers
Expected result:
I would expect that custom transformers to be left un-impacted by this module. If possible it would be great if the plugin could also handle assets inside docs that come from custom transformers if they still use the same ast format.
Context
I'm only using custom transformers, as I want different rehype/remark plugins to apply to certain files.
Description
Once I add this module to my project, my custom transformers stop working.
To reproduce:
I've created a stackblitz: https://stackblitz.com/edit/github-izuj4b?file=nuxt.config.ts
Commenting out the reference to this module results in the
/example
route to start working again. The/example
route is sourced by a custom transformer (./my-transformer.js
), as documented here: https://content.nuxt.com/recipes/transformersExpected result:
Context
I'm only using custom transformers, as I want different rehype/remark plugins to apply to certain files.
Environment info
Run the code below and replace with the output:
This is from the stack blitz env: