Commit 3d6d83e
committed
fix(sdd): ignore fenced Markdown examples
Task counters and clarification parsers previously only checked for
unindented triple-backtick fences. Markdown examples inside tilde fences
or indented code blocks were incorrectly counted as active tasks or
clarification questions. Advance fence state across CommonMark fences.
Signed-off-by: 1fanwang <1fannnw@gmail.com>1 parent 6c00302 commit 3d6d83e
2 files changed
Lines changed: 34 additions & 13 deletions
Lines changed: 28 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
255 | 274 | | |
256 | | - | |
| 275 | + | |
257 | 276 | | |
258 | 277 | | |
259 | 278 | | |
260 | | - | |
| 279 | + | |
261 | 280 | | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
267 | 284 | | |
268 | 285 | | |
269 | 286 | | |
| |||
519 | 536 | | |
520 | 537 | | |
521 | 538 | | |
522 | | - | |
| 539 | + | |
523 | 540 | | |
524 | | - | |
525 | | - | |
526 | | - | |
527 | | - | |
528 | | - | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
529 | 544 | | |
530 | 545 | | |
531 | 546 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
| |||
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
54 | 60 | | |
55 | 61 | | |
56 | 62 | | |
| |||
0 commit comments