MDS031: unclosed-code-block
Fenced code blocks must have a closing fence delimiter.
# Config
Enable (default):
rules:
unclosed-code-block: trueDisable:
rules:
unclosed-code-block: false# Examples
# Good
# Properly Closed
```go
fmt.Println("hello")
```The opening fence has no matching closing fence, so all following content is consumed as code.
# Bad – empty fence
# Empty Unclosed Fence
```# Meta-Information
- ID: MDS031
- Name:
unclosed-code-block - Status: ready
- Default: enabled
- Fixable: no
- Implementation: source
- Category: code
- gomarklint: unclosed-code-block