feat: use go tool

This commit is contained in:
2026-07-03 19:24:01 -04:00
parent 39548b4332
commit 4d0cab1fe0
1542 changed files with 252399 additions and 14 deletions
+40
View File
@@ -0,0 +1,40 @@
# `MD046` - Code block style
Tags: `code`
Aliases: `code-block-style`
Parameters:
- `style`: Block style (`string`, default `consistent`, values `consistent` /
`fenced` / `indented`)
This rule is triggered when unwanted or different code block styles are used in
the same document.
In the default configuration this rule reports a violation for the following
document:
<!-- markdownlint-disable code-block-style -->
Some text.
# Indented code
More text.
```ruby
# Fenced code
```
More text.
<!-- markdownlint-restore -->
To fix violations of this rule, use a consistent style (either indenting or code
fences).
The configured code block style can be specific (`fenced`, `indented`) or can
require all code blocks match the first code block (`consistent`).
Rationale: Consistent formatting makes it easier to understand a document.