A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ilyatitovich/remark-lint-code-block-split-list below:

ilyatitovich/remark-lint-code-block-split-list: Ensure that code block inside list doesn't split the list

remark-lint-code-block-split-list

remark-lint plugin to ensure that code block inside list doesn't split the list.

The plugin checks if the code block split the list (сode block is incorrectly indented).

npm install remark-lint-code-block-split-list

Use like any other remark-lint plugin. Check out the remark-lint documentation for details.

When this rule is turned on, the following valid.md is ok:

1. Item 1

   ```sh
   pnpm run dev
   ```

2. Item 2

When this rule is turned on, the following invalid.md is not ok:

1. Item 1

```sh
pnpm run dev
```

2. Item 2
6:1-8:4 warning Add 3 spaces to the beginning of the code block to align with the list. code-block-split-list remark-lint

If you find this tool helpful, consider supporting us:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4