@docusaurus/mdx-loader 2.0.0-beta.15d451942 → 2.0.0-beta.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/lib/index.d.ts +30 -0
  2. package/lib/index.d.ts.map +1 -0
  3. package/lib/index.js +178 -0
  4. package/lib/index.js.map +1 -0
  5. package/lib/remark/headings/index.d.ts +9 -0
  6. package/lib/remark/headings/index.d.ts.map +1 -0
  7. package/lib/remark/headings/index.js +60 -0
  8. package/lib/remark/headings/index.js.map +1 -0
  9. package/lib/remark/toc/index.d.ts +13 -0
  10. package/lib/remark/toc/index.d.ts.map +1 -0
  11. package/lib/remark/toc/index.js +81 -0
  12. package/lib/remark/toc/index.js.map +1 -0
  13. package/lib/remark/transformImage/index.d.ts +14 -0
  14. package/lib/remark/transformImage/index.d.ts.map +1 -0
  15. package/lib/remark/transformImage/index.js +109 -0
  16. package/lib/remark/transformImage/index.js.map +1 -0
  17. package/lib/remark/transformLinks/index.d.ts +14 -0
  18. package/lib/remark/transformLinks/index.d.ts.map +1 -0
  19. package/lib/remark/transformLinks/index.js +100 -0
  20. package/lib/remark/transformLinks/index.js.map +1 -0
  21. package/lib/remark/unwrapMdxCodeBlocks/index.d.ts +9 -0
  22. package/lib/remark/unwrapMdxCodeBlocks/index.d.ts.map +1 -0
  23. package/lib/remark/unwrapMdxCodeBlocks/index.js +29 -0
  24. package/lib/remark/unwrapMdxCodeBlocks/index.js.map +1 -0
  25. package/lib/remark/utils/index.d.ts +11 -0
  26. package/lib/remark/utils/index.d.ts.map +1 -0
  27. package/lib/remark/utils/index.js +38 -0
  28. package/lib/remark/utils/index.js.map +1 -0
  29. package/package.json +19 -16
  30. package/src/deps.d.ts +30 -0
  31. package/src/index.ts +225 -0
  32. package/src/{index.d.ts → mdx-loader.d.ts} +7 -8
  33. package/src/remark/headings/{index.js → index.ts} +22 -23
  34. package/src/remark/toc/index.ts +102 -0
  35. package/src/remark/transformImage/index.ts +167 -0
  36. package/src/remark/transformLinks/index.ts +150 -0
  37. package/src/remark/unwrapMdxCodeBlocks/{index.js → index.ts} +14 -15
  38. package/src/remark/utils/index.ts +36 -0
  39. package/src/index.js +0 -104
  40. package/src/remark/headings/__tests__/index.test.js +0 -315
  41. package/src/remark/toc/__tests__/__snapshots__/index.test.js.snap +0 -85
  42. package/src/remark/toc/__tests__/fixtures/empty-headings.md +0 -5
  43. package/src/remark/toc/__tests__/fixtures/inline-code.md +0 -9
  44. package/src/remark/toc/__tests__/fixtures/insert-below-imports.md +0 -11
  45. package/src/remark/toc/__tests__/fixtures/just-content.md +0 -15
  46. package/src/remark/toc/__tests__/fixtures/name-exist.md +0 -7
  47. package/src/remark/toc/__tests__/fixtures/non-text-content.md +0 -9
  48. package/src/remark/toc/__tests__/index.test.js +0 -212
  49. package/src/remark/toc/index.js +0 -79
  50. package/src/remark/toc/search.js +0 -73
  51. package/src/remark/transformImage/__tests__/__snapshots__/index.test.js.snap +0 -31
  52. package/src/remark/transformImage/__tests__/fixtures/fail.md +0 -1
  53. package/src/remark/transformImage/__tests__/fixtures/img.md +0 -17
  54. package/src/remark/transformImage/__tests__/fixtures/img.png +0 -0
  55. package/src/remark/transformImage/__tests__/fixtures/noUrl.md +0 -1
  56. package/src/remark/transformImage/__tests__/fixtures/pathname.md +0 -1
  57. package/src/remark/transformImage/__tests__/index.test.js +0 -59
  58. package/src/remark/transformImage/index.js +0 -106
  59. package/src/remark/transformLinks/__tests__/__snapshots__/index.test.js.snap +0 -41
  60. package/src/remark/transformLinks/__tests__/fixtures/asset.md +0 -29
  61. package/src/remark/transformLinks/__tests__/fixtures/asset.pdf +0 -0
  62. package/src/remark/transformLinks/__tests__/fixtures/noUrl.md +0 -1
  63. package/src/remark/transformLinks/__tests__/fixtures/pathname.md +0 -1
  64. package/src/remark/transformLinks/__tests__/fixtures/static/staticAsset.pdf +0 -0
  65. package/src/remark/transformLinks/__tests__/fixtures/static/staticAssetImage.png +0 -0
  66. package/src/remark/transformLinks/__tests__/index.test.js +0 -44
  67. package/src/remark/transformLinks/index.js +0 -143
  68. package/src/remark/unwrapMdxCodeBlocks/__tests__/__snapshots__/index.test.js.snap +0 -819
  69. package/src/remark/unwrapMdxCodeBlocks/__tests__/fixtures/has-mdx-code-blocks.mdx +0 -95
  70. package/src/remark/unwrapMdxCodeBlocks/__tests__/index.test.js +0 -38
  71. package/src/remark/utils/index.js +0 -39
  72. package/tsconfig.json +0 -9
@@ -1,819 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`unwrapMdxCodeBlocks should unwrap the mdx code blocks 1`] = `
4
- "# MDX code blocks test document
5
-
6
- ## Some basic markdown
7
-
8
- text
9
-
10
- [link](https://facebook.com)
11
-
12
- **bold**
13
-
14
- ![image](https://facebook.com/favicon.ico)
15
-
16
- ## Some basic MDX
17
-
18
- import XYZ from 'xyz';
19
-
20
- <XYZ abc=\\"1\\" def={[1, '42', {hello: 'world'}]} style={{color: 'red'}}>
21
- <span>Test</span>
22
- </XYZ>
23
-
24
- ## Some basic MDX code block
25
-
26
- import Avatar from 'avatar';
27
-
28
- <Avatar style={{color: 'red'}}>
29
- <div>Sebastien Lorber</div>
30
- </Avatar>
31
-
32
- ## Some complex MDX with nested code blocks
33
-
34
- <Tabs
35
- defaultValue=\\"bash\\"
36
- values={[
37
- { label: 'Bash', value: 'bash' },
38
- { label: 'Windows', value: 'windows' },
39
- { label: 'PowerShell', value: 'powershell' }
40
- ]}>
41
- <TabItem value=\\"bash\\">
42
-
43
- \`\`\`bash
44
- GIT_USER=<GITHUB_USERNAME> yarn deploy
45
- \`\`\`
46
-
47
- </TabItem>
48
- <TabItem value=\\"windows\\">
49
-
50
- \`\`\`batch
51
- cmd /C \\"set \\"GIT_USER=<GITHUB_USERNAME>\\" && yarn deploy\\"
52
- \`\`\`
53
-
54
- </TabItem>
55
- <TabItem value=\\"powershell\\">
56
-
57
- \`\`\`powershell
58
- cmd /C 'set \\"GIT_USER=<GITHUB_USERNAME>\\" && yarn deploy'
59
- \`\`\`
60
-
61
- </TabItem>
62
- </Tabs>
63
-
64
- ## Some complex MDX code block with nested code blocks
65
-
66
- <Tabs
67
- defaultValue=\\"bash\\"
68
- values={[
69
- { label: 'Bash', value: 'bash' },
70
- { label: 'Windows', value: 'windows' },
71
- { label: 'PowerShell', value: 'powershell' }
72
- ]}>
73
- <TabItem value=\\"bash\\">
74
-
75
- \`\`\`bash
76
- GIT_USER=<GITHUB_USERNAME> yarn deploy
77
- \`\`\`
78
-
79
- </TabItem>
80
- <TabItem value=\\"windows\\">
81
-
82
- \`\`\`batch
83
- cmd /C \\"set \\"GIT_USER=<GITHUB_USERNAME>\\" && yarn deploy\\"
84
- \`\`\`
85
-
86
- </TabItem>
87
- <TabItem value=\\"powershell\\">
88
-
89
- \`\`\`powershell
90
- cmd /C 'set \\"GIT_USER=<GITHUB_USERNAME>\\" && yarn deploy'
91
- \`\`\`
92
-
93
- </TabItem>
94
- </Tabs>
95
- "
96
- `;
97
-
98
- exports[`unwrapMdxCodeBlocks should unwrap the mdx code blocks AST 1`] = `
99
- Object {
100
- "children": Array [
101
- Object {
102
- "children": Array [
103
- Object {
104
- "position": Position {
105
- "end": Object {
106
- "column": 32,
107
- "line": 1,
108
- "offset": 31,
109
- },
110
- "indent": Array [],
111
- "start": Object {
112
- "column": 3,
113
- "line": 1,
114
- "offset": 2,
115
- },
116
- },
117
- "type": "text",
118
- "value": "MDX code blocks test document",
119
- },
120
- ],
121
- "depth": 1,
122
- "position": Position {
123
- "end": Object {
124
- "column": 32,
125
- "line": 1,
126
- "offset": 31,
127
- },
128
- "indent": Array [],
129
- "start": Object {
130
- "column": 1,
131
- "line": 1,
132
- "offset": 0,
133
- },
134
- },
135
- "type": "heading",
136
- },
137
- Object {
138
- "children": Array [
139
- Object {
140
- "position": Position {
141
- "end": Object {
142
- "column": 23,
143
- "line": 3,
144
- "offset": 55,
145
- },
146
- "indent": Array [],
147
- "start": Object {
148
- "column": 4,
149
- "line": 3,
150
- "offset": 36,
151
- },
152
- },
153
- "type": "text",
154
- "value": "Some basic markdown",
155
- },
156
- ],
157
- "depth": 2,
158
- "position": Position {
159
- "end": Object {
160
- "column": 23,
161
- "line": 3,
162
- "offset": 55,
163
- },
164
- "indent": Array [],
165
- "start": Object {
166
- "column": 1,
167
- "line": 3,
168
- "offset": 33,
169
- },
170
- },
171
- "type": "heading",
172
- },
173
- Object {
174
- "children": Array [
175
- Object {
176
- "position": Position {
177
- "end": Object {
178
- "column": 5,
179
- "line": 5,
180
- "offset": 61,
181
- },
182
- "indent": Array [],
183
- "start": Object {
184
- "column": 1,
185
- "line": 5,
186
- "offset": 57,
187
- },
188
- },
189
- "type": "text",
190
- "value": "text",
191
- },
192
- ],
193
- "position": Position {
194
- "end": Object {
195
- "column": 5,
196
- "line": 5,
197
- "offset": 61,
198
- },
199
- "indent": Array [],
200
- "start": Object {
201
- "column": 1,
202
- "line": 5,
203
- "offset": 57,
204
- },
205
- },
206
- "type": "paragraph",
207
- },
208
- Object {
209
- "children": Array [
210
- Object {
211
- "children": Array [
212
- Object {
213
- "position": Position {
214
- "end": Object {
215
- "column": 6,
216
- "line": 7,
217
- "offset": 68,
218
- },
219
- "indent": Array [],
220
- "start": Object {
221
- "column": 2,
222
- "line": 7,
223
- "offset": 64,
224
- },
225
- },
226
- "type": "text",
227
- "value": "link",
228
- },
229
- ],
230
- "position": Position {
231
- "end": Object {
232
- "column": 29,
233
- "line": 7,
234
- "offset": 91,
235
- },
236
- "indent": Array [],
237
- "start": Object {
238
- "column": 1,
239
- "line": 7,
240
- "offset": 63,
241
- },
242
- },
243
- "title": null,
244
- "type": "link",
245
- "url": "https://facebook.com",
246
- },
247
- ],
248
- "position": Position {
249
- "end": Object {
250
- "column": 29,
251
- "line": 7,
252
- "offset": 91,
253
- },
254
- "indent": Array [],
255
- "start": Object {
256
- "column": 1,
257
- "line": 7,
258
- "offset": 63,
259
- },
260
- },
261
- "type": "paragraph",
262
- },
263
- Object {
264
- "children": Array [
265
- Object {
266
- "children": Array [
267
- Object {
268
- "position": Position {
269
- "end": Object {
270
- "column": 7,
271
- "line": 9,
272
- "offset": 99,
273
- },
274
- "indent": Array [],
275
- "start": Object {
276
- "column": 3,
277
- "line": 9,
278
- "offset": 95,
279
- },
280
- },
281
- "type": "text",
282
- "value": "bold",
283
- },
284
- ],
285
- "position": Position {
286
- "end": Object {
287
- "column": 9,
288
- "line": 9,
289
- "offset": 101,
290
- },
291
- "indent": Array [],
292
- "start": Object {
293
- "column": 1,
294
- "line": 9,
295
- "offset": 93,
296
- },
297
- },
298
- "type": "strong",
299
- },
300
- ],
301
- "position": Position {
302
- "end": Object {
303
- "column": 9,
304
- "line": 9,
305
- "offset": 101,
306
- },
307
- "indent": Array [],
308
- "start": Object {
309
- "column": 1,
310
- "line": 9,
311
- "offset": 93,
312
- },
313
- },
314
- "type": "paragraph",
315
- },
316
- Object {
317
- "children": Array [
318
- Object {
319
- "alt": "image",
320
- "position": Position {
321
- "end": Object {
322
- "column": 43,
323
- "line": 11,
324
- "offset": 145,
325
- },
326
- "indent": Array [],
327
- "start": Object {
328
- "column": 1,
329
- "line": 11,
330
- "offset": 103,
331
- },
332
- },
333
- "title": null,
334
- "type": "image",
335
- "url": "https://facebook.com/favicon.ico",
336
- },
337
- ],
338
- "position": Position {
339
- "end": Object {
340
- "column": 43,
341
- "line": 11,
342
- "offset": 145,
343
- },
344
- "indent": Array [],
345
- "start": Object {
346
- "column": 1,
347
- "line": 11,
348
- "offset": 103,
349
- },
350
- },
351
- "type": "paragraph",
352
- },
353
- Object {
354
- "children": Array [
355
- Object {
356
- "position": Position {
357
- "end": Object {
358
- "column": 18,
359
- "line": 13,
360
- "offset": 164,
361
- },
362
- "indent": Array [],
363
- "start": Object {
364
- "column": 4,
365
- "line": 13,
366
- "offset": 150,
367
- },
368
- },
369
- "type": "text",
370
- "value": "Some basic MDX",
371
- },
372
- ],
373
- "depth": 2,
374
- "position": Position {
375
- "end": Object {
376
- "column": 18,
377
- "line": 13,
378
- "offset": 164,
379
- },
380
- "indent": Array [],
381
- "start": Object {
382
- "column": 1,
383
- "line": 13,
384
- "offset": 147,
385
- },
386
- },
387
- "type": "heading",
388
- },
389
- Object {
390
- "position": Position {
391
- "end": Object {
392
- "column": 23,
393
- "line": 15,
394
- "offset": 188,
395
- },
396
- "indent": Array [],
397
- "start": Object {
398
- "column": 1,
399
- "line": 15,
400
- "offset": 166,
401
- },
402
- },
403
- "type": "import",
404
- "value": "import XYZ from 'xyz';",
405
- },
406
- Object {
407
- "position": Position {
408
- "end": Object {
409
- "column": 7,
410
- "line": 19,
411
- "offset": 287,
412
- },
413
- "indent": Array [
414
- 1,
415
- 1,
416
- ],
417
- "start": Object {
418
- "column": 1,
419
- "line": 17,
420
- "offset": 190,
421
- },
422
- },
423
- "type": "jsx",
424
- "value": "<XYZ abc=\\"1\\" def={[1, '42', {hello: 'world'}]} style={{color: 'red'}}>
425
- <span>Test</span>
426
- </XYZ>",
427
- },
428
- Object {
429
- "children": Array [
430
- Object {
431
- "position": Position {
432
- "end": Object {
433
- "column": 29,
434
- "line": 21,
435
- "offset": 317,
436
- },
437
- "indent": Array [],
438
- "start": Object {
439
- "column": 4,
440
- "line": 21,
441
- "offset": 292,
442
- },
443
- },
444
- "type": "text",
445
- "value": "Some basic MDX code block",
446
- },
447
- ],
448
- "depth": 2,
449
- "position": Position {
450
- "end": Object {
451
- "column": 29,
452
- "line": 21,
453
- "offset": 317,
454
- },
455
- "indent": Array [],
456
- "start": Object {
457
- "column": 1,
458
- "line": 21,
459
- "offset": 289,
460
- },
461
- },
462
- "type": "heading",
463
- },
464
- Object {
465
- "lang": "mdx-code-block",
466
- "meta": null,
467
- "position": Position {
468
- "end": Object {
469
- "column": 4,
470
- "line": 29,
471
- "offset": 442,
472
- },
473
- "indent": Array [
474
- 1,
475
- 1,
476
- 1,
477
- 1,
478
- 1,
479
- 1,
480
- ],
481
- "start": Object {
482
- "column": 1,
483
- "line": 23,
484
- "offset": 319,
485
- },
486
- },
487
- "type": "code",
488
- "value": "import Avatar from 'avatar';
489
-
490
- <Avatar style={{color: 'red'}}>
491
- <div>Sebastien Lorber</div>
492
- </Avatar>",
493
- },
494
- Object {
495
- "children": Array [
496
- Object {
497
- "position": Position {
498
- "end": Object {
499
- "column": 44,
500
- "line": 31,
501
- "offset": 487,
502
- },
503
- "indent": Array [],
504
- "start": Object {
505
- "column": 4,
506
- "line": 31,
507
- "offset": 447,
508
- },
509
- },
510
- "type": "text",
511
- "value": "Some complex MDX with nested code blocks",
512
- },
513
- ],
514
- "depth": 2,
515
- "position": Position {
516
- "end": Object {
517
- "column": 44,
518
- "line": 31,
519
- "offset": 487,
520
- },
521
- "indent": Array [],
522
- "start": Object {
523
- "column": 1,
524
- "line": 31,
525
- "offset": 444,
526
- },
527
- },
528
- "type": "heading",
529
- },
530
- Object {
531
- "position": Position {
532
- "end": Object {
533
- "column": 25,
534
- "line": 40,
535
- "offset": 688,
536
- },
537
- "indent": Array [
538
- 1,
539
- 1,
540
- 1,
541
- 1,
542
- 1,
543
- 1,
544
- 1,
545
- ],
546
- "start": Object {
547
- "column": 1,
548
- "line": 33,
549
- "offset": 489,
550
- },
551
- },
552
- "type": "jsx",
553
- "value": "<Tabs
554
- defaultValue=\\"bash\\"
555
- values={[
556
- { label: 'Bash', value: 'bash' },
557
- { label: 'Windows', value: 'windows' },
558
- { label: 'PowerShell', value: 'powershell' }
559
- ]}>
560
- <TabItem value=\\"bash\\">",
561
- },
562
- Object {
563
- "lang": "bash",
564
- "meta": null,
565
- "position": Position {
566
- "end": Object {
567
- "column": 4,
568
- "line": 44,
569
- "offset": 740,
570
- },
571
- "indent": Array [
572
- 1,
573
- 1,
574
- ],
575
- "start": Object {
576
- "column": 1,
577
- "line": 42,
578
- "offset": 690,
579
- },
580
- },
581
- "type": "code",
582
- "value": "GIT_USER=<GITHUB_USERNAME> yarn deploy",
583
- },
584
- Object {
585
- "position": Position {
586
- "end": Object {
587
- "column": 28,
588
- "line": 47,
589
- "offset": 782,
590
- },
591
- "indent": Array [
592
- 1,
593
- ],
594
- "start": Object {
595
- "column": 1,
596
- "line": 46,
597
- "offset": 742,
598
- },
599
- },
600
- "type": "jsx",
601
- "value": " </TabItem>
602
- <TabItem value=\\"windows\\">",
603
- },
604
- Object {
605
- "lang": null,
606
- "meta": null,
607
- "position": Position {
608
- "end": Object {
609
- "column": 8,
610
- "line": 51,
611
- "offset": 865,
612
- },
613
- "indent": Array [
614
- 1,
615
- 1,
616
- ],
617
- "start": Object {
618
- "column": 1,
619
- "line": 49,
620
- "offset": 784,
621
- },
622
- },
623
- "type": "code",
624
- "value": "\`\`\`batch
625
- cmd /C \\"set \\"GIT_USER=<GITHUB_USERNAME>\\" && yarn deploy\\"
626
- \`\`\`",
627
- },
628
- Object {
629
- "position": Position {
630
- "end": Object {
631
- "column": 31,
632
- "line": 54,
633
- "offset": 910,
634
- },
635
- "indent": Array [
636
- 1,
637
- ],
638
- "start": Object {
639
- "column": 1,
640
- "line": 53,
641
- "offset": 867,
642
- },
643
- },
644
- "type": "jsx",
645
- "value": " </TabItem>
646
- <TabItem value=\\"powershell\\">",
647
- },
648
- Object {
649
- "lang": "powershell",
650
- "meta": null,
651
- "position": Position {
652
- "end": Object {
653
- "column": 4,
654
- "line": 58,
655
- "offset": 986,
656
- },
657
- "indent": Array [
658
- 1,
659
- 1,
660
- ],
661
- "start": Object {
662
- "column": 1,
663
- "line": 56,
664
- "offset": 912,
665
- },
666
- },
667
- "type": "code",
668
- "value": "cmd /C 'set \\"GIT_USER=<GITHUB_USERNAME>\\" && yarn deploy'",
669
- },
670
- Object {
671
- "position": Position {
672
- "end": Object {
673
- "column": 8,
674
- "line": 61,
675
- "offset": 1008,
676
- },
677
- "indent": Array [
678
- 1,
679
- ],
680
- "start": Object {
681
- "column": 1,
682
- "line": 60,
683
- "offset": 988,
684
- },
685
- },
686
- "type": "jsx",
687
- "value": " </TabItem>
688
- </Tabs>",
689
- },
690
- Object {
691
- "children": Array [
692
- Object {
693
- "position": Position {
694
- "end": Object {
695
- "column": 55,
696
- "line": 63,
697
- "offset": 1064,
698
- },
699
- "indent": Array [],
700
- "start": Object {
701
- "column": 4,
702
- "line": 63,
703
- "offset": 1013,
704
- },
705
- },
706
- "type": "text",
707
- "value": "Some complex MDX code block with nested code blocks",
708
- },
709
- ],
710
- "depth": 2,
711
- "position": Position {
712
- "end": Object {
713
- "column": 55,
714
- "line": 63,
715
- "offset": 1064,
716
- },
717
- "indent": Array [],
718
- "start": Object {
719
- "column": 1,
720
- "line": 63,
721
- "offset": 1010,
722
- },
723
- },
724
- "type": "heading",
725
- },
726
- Object {
727
- "lang": "mdx-code-block",
728
- "meta": null,
729
- "position": Position {
730
- "end": Object {
731
- "column": 5,
732
- "line": 95,
733
- "offset": 1585,
734
- },
735
- "indent": Array [
736
- 1,
737
- 1,
738
- 1,
739
- 1,
740
- 1,
741
- 1,
742
- 1,
743
- 1,
744
- 1,
745
- 1,
746
- 1,
747
- 1,
748
- 1,
749
- 1,
750
- 1,
751
- 1,
752
- 1,
753
- 1,
754
- 1,
755
- 1,
756
- 1,
757
- 1,
758
- 1,
759
- 1,
760
- 1,
761
- 1,
762
- 1,
763
- 1,
764
- 1,
765
- 1,
766
- ],
767
- "start": Object {
768
- "column": 1,
769
- "line": 65,
770
- "offset": 1066,
771
- },
772
- },
773
- "type": "code",
774
- "value": "<Tabs
775
- defaultValue=\\"bash\\"
776
- values={[
777
- { label: 'Bash', value: 'bash' },
778
- { label: 'Windows', value: 'windows' },
779
- { label: 'PowerShell', value: 'powershell' }
780
- ]}>
781
- <TabItem value=\\"bash\\">
782
-
783
- \`\`\`bash
784
- GIT_USER=<GITHUB_USERNAME> yarn deploy
785
- \`\`\`
786
-
787
- </TabItem>
788
- <TabItem value=\\"windows\\">
789
-
790
- \`\`\`batch
791
- cmd /C \\"set \\"GIT_USER=<GITHUB_USERNAME>\\" && yarn deploy\\"
792
- \`\`\`
793
-
794
- </TabItem>
795
- <TabItem value=\\"powershell\\">
796
-
797
- \`\`\`powershell
798
- cmd /C 'set \\"GIT_USER=<GITHUB_USERNAME>\\" && yarn deploy'
799
- \`\`\`
800
-
801
- </TabItem>
802
- </Tabs>",
803
- },
804
- ],
805
- "position": Object {
806
- "end": Object {
807
- "column": 1,
808
- "line": 96,
809
- "offset": 1586,
810
- },
811
- "start": Object {
812
- "column": 1,
813
- "line": 1,
814
- "offset": 0,
815
- },
816
- },
817
- "type": "root",
818
- }
819
- `;