diff --git a/website/docs/advanced/plugins.md b/website/docs/advanced/plugins.md index 3e6e9f969f46..cbcfaf0e654f 100644 --- a/website/docs/advanced/plugins.md +++ b/website/docs/advanced/plugins.md @@ -51,7 +51,7 @@ module.exports = { Then in the folder `my-plugin`, you can create an `index.js` such as this: -```js title="my-plugin.js" +```js title="my-plugin/index.js" module.exports = async function myPlugin(context, options) { // ... return {