Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Doc]: Code blocks with links have a different style on the website. #6929

Open
@regseb

Description

Code blocks with links have a different style on the website. For example, on the Installation page:

  • The npm install -g corepack command is in a white box with a copy button.
  • The yarn init -2 command 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.


```
npm install -g corepack
```

```
yarn dlx @yarnpkg/sdks vscode vim ...
```
```bash
yarn dlx @yarnpkg/sdks vim
```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /