Commit 140d9c7
authored
Improve code diff rendering styles (#184)
* Update update docusaurus to canary version to allow for starting codeblock line number to be set
* Add start/end magic comments for diffs so each line does not need to be individually annotated
* Fix alignment issues when diffs and line numbers are displayed at the same time
* Replace default space character with empty string
* Refactor styles1 parent 09e434d commit 140d9c7
File tree
4 files changed
+4385
-2446
lines changed- src/css
4 files changed
+4385
-2446
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
561 | 561 | | |
562 | 562 | | |
563 | 563 | | |
564 | | - | |
565 | | - | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
566 | 570 | | |
567 | 571 | | |
568 | | - | |
569 | | - | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
570 | 578 | | |
571 | 579 | | |
572 | 580 | | |
| |||
0 commit comments