Esc

COMARK1302 · warning

comark/tabs/content-in-code-group

Put only code blocks in ::code-group

Each code block in a ::code-group becomes a tab, and anything else inside, such as a paragraph or a list, is dropped from the page. Write it before or after the group, or use ::tabs, whose tabs hold any Markdown.

Incorrect

::code-group
Run one of these before the deploy.

```sh [pnpm]
pnpm build
```

```sh [npm]
npm run build
```
::
md
lint-comark example.mdexample.md:1:1 comark/tabs/content-in-code-group::code-group 1: only code blocks go inside.Move the paragraph "Run one of these before the deploy." out, or use ::tabs.✖ 1 problem

Correct

Run one of these before the deploy.

::code-group
```sh [pnpm]
pnpm build
```

```sh [npm]
npm run build
```
::
md
lint-comark example.md✔ No problems