src/go/doc/comment/testdata/list9.txt
raw| 1 | -- input -- |
| 2 | Text. |
| 3 | |
| 4 | 1. Not a list |
| 5 | 2. because it is |
| 6 | 3. unindented. |
| 7 | |
| 8 | 4. This one |
| 9 | is a list |
| 10 | because of the indented text. |
| 11 | 5. More wrapped |
| 12 | items. |
| 13 | 6. And unwrapped. |
| 14 | |
| 15 | 7. The blank line stops the heuristic. |
| 16 | -- gofmt -- |
| 17 | Text. |
| 18 | |
| 19 | 1. Not a list |
| 20 | 2. because it is |
| 21 | 3. unindented. |
| 22 | |
| 23 | 4. This one |
| 24 | is a list |
| 25 | because of the indented text. |
| 26 | 5. More wrapped |
| 27 | items. |
| 28 | 6. And unwrapped. |
| 29 | |
| 30 | 7. The blank line stops the heuristic. |