Commit 4ce88a1
v3 (#108)
* Add concept of gutter cells
* Adjust rendering and styling
* Finish layout, add test, make it work with line highlighting
* Fix copy and paste
* Update alpha publishing to point to v3 branch
* Update other v2 reference
* Another 2
* Add diff highlighting line transformer (#88)
* fix typo in CONTRIBUTING.md
* fix formatting error preventing tests in src/utils.js
* wip: diff line transformer draft implementation
* add diff line transformer integration test
* diffLineTransformer return new v3 gutterCells prop
* readme fix typo
* pick default red/green colors for diff line highlighting
* fix diffLineTransformer.schemaExtension, avoid mutating input params
* don't require diff lines to start with +/-
* Update tests, fix type errors
* Remove postfix space requirement
Co-authored-by: Andrew Branch <[email protected]>
* Add GraphQL testing infrastructure
* Update workflows and CONTRIBUTING.md
* Add missing proc.kill
* Ignore tty message?
* Remove meta from test query because apparently languageId isn’t stable
* Totally ignore tty error
* Update snapshot
* Shallow checkout vscode
* Pick a reasonable default for line highlight color based on theme background color (#106)
* Detect dark themes by luminance
* Fix dependencies
* Update README
* Update MIGRATING
* Add test, adjust light default color
* Ignore report.html
* Don’t cache in GraphQL tests
* Officially deprecate `codeFenceNode`
* Add line number docs
* Add diff highlighting docs
* Remove old `colorTheme` option
* Update baselines
Co-authored-by: Janosh Riebesell <[email protected]>1 parent 0bdaa18 commit 4ce88a1
File tree
99 files changed
+37294
-6250
lines changed- .github/workflows
- examples/example-site/content/blog/readme-examples
- src
- factory
- graphql
- renderers
- transformers
- test
- __snapshots__
- cases
- bug-37
- bug-93
- code-fence-meta
- diff-highlighting
- github-zip
- highlight-directive-comments
- inline-custom-class
- inline-theme-function
- inline
- line-numbers
- luminance-detection
- npm-extension
- parent-selector
- vsix
- data
- graphql
- site
- html
- baselines
- viewer
- integration
- baselines
- cases
- github-zip
- vsix
- unit
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
99 files changed
+37294
-6250
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
37 | | - | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | | - | |
| 42 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
3 | 15 | | |
4 | 16 | | |
5 | 17 | | |
| |||
49 | 61 | | |
50 | 62 | | |
51 | 63 | | |
52 | | - | |
| 64 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
199 | 201 | | |
200 | 202 | | |
201 | 203 | | |
202 | | - | |
| 204 | + | |
203 | 205 | | |
204 | 206 | | |
205 | 207 | | |
| |||
357 | 359 | | |
358 | 360 | | |
359 | 361 | | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
360 | 368 | | |
361 | 369 | | |
362 | 370 | | |
| |||
367 | 375 | | |
368 | 376 | | |
369 | 377 | | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
370 | 388 | | |
371 | 389 | | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
372 | 396 | | |
373 | 397 | | |
374 | 398 | | |
| |||
387 | 411 | | |
388 | 412 | | |
389 | 413 | | |
390 | | - | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
391 | 425 | | |
392 | 426 | | |
393 | 427 | | |
394 | | - | |
395 | | - | |
396 | | - | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
397 | 431 | | |
398 | 432 | | |
399 | 433 | | |
400 | | - | |
| 434 | + | |
401 | 435 | | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
406 | 468 | | |
407 | 469 | | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
408 | 522 | | |
409 | 523 | | |
410 | 524 | | |
| |||
424 | 538 | | |
425 | 539 | | |
426 | 540 | | |
427 | | - | |
| 541 | + | |
428 | 542 | | |
429 | 543 | | |
430 | | - | |
| 544 | + | |
431 | 545 | | |
432 | 546 | | |
433 | 547 | | |
| |||
436 | 550 | | |
437 | 551 | | |
438 | 552 | | |
439 | | - | |
| 553 | + | |
440 | 554 | | |
441 | 555 | | |
442 | 556 | | |
| |||
550 | 664 | | |
551 | 665 | | |
552 | 666 | | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
0 commit comments