Skip to content

no-unconventional-code-blocks

Requires conventional language identifiers for fenced code blocks.

This rule automatically replaces bash with sh, console with powershell, and text with txt.

<!-- Bad -->
```bash
echo "Hello"
```
<!-- Good -->
```sh
echo "Hello"
```

This rule is not configurable.