Repository navigation
Commit 68f7414
feat: add ai explain buttons to code block (#29533)
* feat: add ai explain buttons to code block
* fix: load explain plugin into ec
This somehow got lost during rebase.
* fix: account for title bars in btn placement
* feat: match copy btn style, DOM
This allows for better theming and maintainability.
* Fixed formatting, all checks pass, LGTM
Co-authored-by: mvvmm <mvvmm@users.noreply.github.com>
* 💄 Style adjustments for content width and the tooltip
* ✨ Increased the height of the skeleton loader to closer match the content returned
---------
Co-authored-by: ask-bonk[bot] <ask-bonk[bot]@users.noreply.github.com>
Co-authored-by: mvvmm <mvvmm@users.noreply.github.com>
Co-authored-by: Amy Haywood Dutton <adutton@cloudflare.com>1 parent 110b860 commit 68f7414
15 files changed
Lines changed: 3960 additions & 276 deletions
File tree
- src
- components
- explain-code-sheet
- overrides
- sheet
- plugins/expressive-code
- scripts
- styles
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
355 | 369 | | |
356 | 370 | | |
357 | 371 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||


0 commit comments