unifiedjs / unified-engine

Engine to process multiple files with unified
https://unifiedjs.com
MIT License
56 stars 23 forks source link

Incorrect reference to `injectPlugins` in plugins.md #66

Closed siefkenj closed 2 years ago

siefkenj commented 2 years ago

The plugins.md documentation refers to injectPlugins, however, this doesn't seem to be an option for unified-engine. Looking at the source code, it appears that a plugin function can be passed directly in the plugins array.

wooorm commented 2 years ago

Which doc refers to injectPlugins? 🤔

siefkenj commented 2 years ago

https://github.com/unifiedjs/unified-engine/blob/main/doc/plugins.md

It is actually injectedPlugins.

wooorm commented 2 years ago

Oh that should be plugins I think?

wooorm commented 2 years ago

Solved, thanks!