Commit 32ffee4
feat: split "long code blocks" rule into suggestion and warning (#173)
* reduce "long codeblock" rule to 35 lines
* add suggestion rule for >25 lines
* expect blank line after MyST options
* match codeblock lines more carefully
* fix: 17a/b allow no blank line in MD after option block
---------
Co-authored-by: secondskoll <michael.park@canonical.com>1 parent 0dbc5f7 commit 32ffee4
File tree
5 files changed
+773
-140
lines changed- styles/Canonical
- tests/data
5 files changed
+773
-140
lines changedThis file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
0 commit comments