Commit 158aa8e
authored
fix: better support for unrecognized languages (#23188)
<!--Delete sections as needed -->
## Description
Degrade nicely when a code fence uses an unrecognized language.
<img width="1865" height="628" alt="Frame 35"
src="https://github.com/user-attachments/assets/e819a128-4025-404b-a421-51f571382d2e"
/>1 parent 504ef8a commit 158aa8e
2 files changed
+23
-34
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | 141 | | |
167 | 142 | | |
168 | 143 | | |
169 | 144 | | |
170 | 145 | | |
171 | | - | |
172 | | - | |
173 | | - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
174 | 149 | | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
179 | 156 | | |
180 | | - | |
181 | | - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
182 | 162 | | |
183 | 163 | | |
184 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
185 | 170 | | |
186 | 171 | | |
187 | 172 | | |
| |||
0 commit comments