Commit 3861147
authored
learn — new interactive code blocks (#47)
* Render MiniGraphiQL with `graphiql` string in node.meta
* Don't validate in Marked: not its responsibility
* Change interactive code snippet colors
* Remove global .miniGraphiQL class
* Refactor MiniGraphiQL to separate files
* Add a TODO comment
* Run Playwright on CI
* wip
* color codemirrors properly
* Style codemirrors properly
* Upgrade pnpm from 9.15.9 to 10.15.0
* Update 2025 conference schedule and speaker details
* Improve syntax highlighting for comments and diffs
* Remove focus outline
* Extract CodeBlockLabel
* Remove unused marked dependency
* Rename `marked` to `interactive-code-block`
* Update codemirror styles
* Allow running esbuild builds
* Remove duplicate image
* Format
* Change syntax theme names to avoid a bug
* Fix heights and properly chain handlers
* Fix tests for new editor
* Run Playwright on CI
* Use the same colors for VariableEditor
* Use the same font for interactive code blocks
* Match the coloring on t.separator [,:] between Lezer and Shiki1 parent 386df07 commit 3861147
File tree
32 files changed
+1366
-1757
lines changed- .github/workflows
- scripts/sync-sched
- src
- _design-system
- mdx-components
- syntax
- components
- index-page
- graphql-advantages
- interactive-code-block
- marked
- pre
- pages
- learn
- test/e2e
32 files changed
+1366
-1757
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
25 | 32 | | |
26 | 33 | | |
27 | 34 | | |
| 35 | + | |
28 | 36 | | |
29 | 37 | | |
30 | 38 | | |
| |||
34 | 42 | | |
35 | 43 | | |
36 | 44 | | |
37 | | - | |
38 | | - | |
| 45 | + | |
39 | 46 | | |
40 | 47 | | |
41 | 48 | | |
| |||
46 | 53 | | |
47 | 54 | | |
48 | 55 | | |
49 | | - | |
50 | 56 | | |
51 | | - | |
| 57 | + | |
52 | 58 | | |
53 | 59 | | |
54 | 60 | | |
| |||
88 | 94 | | |
89 | 95 | | |
90 | 96 | | |
91 | | - | |
| 97 | + | |
92 | 98 | | |
93 | 99 | | |
94 | 100 | | |
| |||
106 | 112 | | |
107 | 113 | | |
108 | 114 | | |
109 | | - | |
| 115 | + | |
110 | 116 | | |
111 | 117 | | |
112 | 118 | | |
| |||
122 | 128 | | |
123 | 129 | | |
124 | 130 | | |
125 | | - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
126 | 135 | | |
127 | 136 | | |
0 commit comments