-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
@regseb
Description
Code blocks with links have a different style on the website. For example, on the Installation page:
- The
npm install -g corepackcommand is in a white box with a copy button. - The
yarn init -2command is in a black box without a copy button.
There is also the Editor SDKs page.
I think the link is added for yarn actions, which is why the code block layout isn't applied. If the language is specified in the code block: the link isn't added and the layout is applied.
berry/packages/docusaurus/docs/getting-started/basics/install.mdx
Lines 11 to 13 in 082357f
```
npm install -g corepack
```
berry/packages/docusaurus/docs/getting-started/basics/install.mdx
Lines 17 to 19 in 082357f
```
yarn init -2
```
berry/packages/docusaurus/docs/getting-started/extra/editor-sdks.mdx
Lines 24 to 26 in 5ac7395
```
yarn dlx @yarnpkg/sdks vscode vim ...
```
berry/packages/docusaurus/docs/getting-started/extra/editor-sdks.mdx
Lines 65 to 67 in 5ac7395
```bash
yarn dlx @yarnpkg/sdks vim
```
Metadata
Metadata
Assignees
Labels
No labels