@@ -247,6 +247,56 @@ color: #D4D4D4;
247247}
248248`;
249249
250+ exports[`included languages and themes includes special characters in language name 1`] = `
251+ Object {
252+ " children" : Array [
253+ Object {
254+ " children" : Array [],
255+ " type" : " paragraph" ,
256+ },
257+ Object {
258+ " lang" : " c++" ,
259+ " type" : " html" ,
260+ " value" : " <pre class=\\ " default - dark vscode - highlight \\" data-language=\\ " c ++ \\" ><code class=\\ " vscode - highlight - code \\" ><span class=\\ " vscode - highlight - line \\" ><span class=\\ " mtk4 \\" >const</span><span class=\\ " mtk1 \\" > x = </span><span class=\\ " mtk7 \\" >3</span><span class=\\ " mtk1 \\" >;</span></span>
261+ <span class =\\"vscode-highlight-line\\"><span class =\\"mtk3\\">// Comment</span></span></code></pre>",
262+ },
263+ Object {
264+ " children" : Array [],
265+ " type" : " paragraph" ,
266+ } ,
267+ Object {
268+ " type" : " html" ,
269+ " value" : " <style class=\\ " vscode - highlight - styles \\" >.default-dark {
270+ background - color : #1E1E1E ;
271+ color : #D4D4D4 ;
272+ }
273+
274+ .default-dark .mtk1 { color : #D4D4D4 ; }
275+ .default-dark .mtk2 { color : #1E1E1E ; }
276+ .default-dark .mtk3 { color : #6A9955 ; }
277+ .default-dark .mtk4 { color : #569CD6 ; }
278+ .default-dark .mtk5 { color : #D16969 ; }
279+ .default-dark .mtk6 { color : #D7BA7D ; }
280+ .default-dark .mtk7 { color : #B5CEA8 ; }
281+ .default-dark .mtk8 { color : #CE9178 ; }
282+ .default-dark .mtk9 { color : #646695 ; }
283+ .default-dark .mtk10 { color : #4EC9B0 ; }
284+ .default-dark .mtk11 { color : #DCDCAA ; }
285+ .default-dark .mtk12 { color : #9CDCFE ; }
286+ .default-dark .mtk13 { color : #000080 ; }
287+ .default-dark .mtk14 { color : #F44747 ; }
288+ .default-dark .mtk15 { color : #C586C0 ; }
289+ .default-dark .mtk16 { color : #6796E6 ; }
290+ .default-dark .mtk17 { color : #808080 ; }
291+ .default-dark .mtki { font - style : italic ; }
292+ .default-dark .mtkb { font - weight : bold ; }
293+ .default-dark .mtku { text - decoration : underline ; text - underline - position : under ; } </style>",
294+ },
295+ ],
296+ " type" : " root" ,
297+ }
298+ `;
299+
250300exports[`included languages and themes partially works if an embedded grammar is missing 1`] = `
251301Object {
252302 " children" : Array [
0 commit comments