Npm2Yarn
Nextra uses
@theguild/remark-npm2yarn (opens in a new tab)
package that replaces the code block that has npm2yarn metadata with
<Tabs /> and <Tabs.Tab /> components from
nextra/components.
The chosen tab is saved in the local storage, which will be chosen in future page renders.
Example
npm i -D @graphql-eslint/eslint-pluginUsage
Markdown
```sh npm2yarn
npm i -D @graphql-eslint/eslint-plugin
```