Commit 58f65d5
fix(packages): Honor margins and base line skips in verbatim mode
Honor the fixed part of left/right (margin) skips, so that verbatim
works in indented environments (e.g. a block quote)
Kill paragraph skips (very likely not expected in verbatim) and restore
proper baseline skips instead of ad-hoc spaces.
This also applies to autodoc's code blocks, simplified and aligned
on the same principles.1 parent 88c3df3 commit 58f65d5
2 files changed
+15
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
| 375 | + | |
| 376 | + | |
375 | 377 | | |
376 | 378 | | |
377 | 379 | | |
378 | 380 | | |
| 381 | + | |
379 | 382 | | |
380 | 383 | | |
381 | 384 | | |
| |||
391 | 394 | | |
392 | 395 | | |
393 | 396 | | |
| 397 | + | |
| 398 | + | |
394 | 399 | | |
395 | | - | |
396 | | - | |
| 400 | + | |
397 | 401 | | |
398 | 402 | | |
399 | | - | |
400 | 403 | | |
401 | | - | |
402 | 404 | | |
403 | | - | |
404 | | - | |
405 | 405 | | |
406 | | - | |
407 | | - | |
408 | 406 | | |
409 | 407 | | |
410 | 408 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
| 19 | + | |
| 20 | + | |
17 | 21 | | |
18 | 22 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | | - | |
27 | 29 | | |
| 30 | + | |
28 | 31 | | |
29 | | - | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
0 commit comments