fraudTech commited on
Commit
b1b97d5
·
1 Parent(s): 644a451

markdown tables rendering

Browse files
Files changed (3) hide show
  1. web/package-lock.json +294 -0
  2. web/package.json +1 -0
  3. web/src/App.tsx +2 -1
web/package-lock.json CHANGED
@@ -15,6 +15,7 @@
15
  "react-markdown": "^9.0.1",
16
  "react-syntax-highlighter": "^15.5.0",
17
  "rehype-katex": "^7.0.1",
 
18
  "remark-math": "^6.0.0"
19
  },
20
  "devDependencies": {
@@ -1628,6 +1629,18 @@
1628
  "node": ">=6"
1629
  }
1630
  },
 
 
 
 
 
 
 
 
 
 
 
 
1631
  "node_modules/estree-util-is-identifier-name": {
1632
  "version": "3.0.0",
1633
  "resolved": "https://registry.npmjs.org/estree-util-is-identifier-name/-/estree-util-is-identifier-name-3.0.0.tgz",
@@ -2277,6 +2290,16 @@
2277
  "yallist": "^3.0.2"
2278
  }
2279
  },
 
 
 
 
 
 
 
 
 
 
2280
  "node_modules/math-intrinsics": {
2281
  "version": "1.1.0",
2282
  "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",
@@ -2286,6 +2309,22 @@
2286
  "node": ">= 0.4"
2287
  }
2288
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2289
  "node_modules/mdast-util-from-markdown": {
2290
  "version": "2.0.2",
2291
  "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-2.0.2.tgz",
@@ -2310,6 +2349,107 @@
2310
  "url": "https://opencollective.com/unified"
2311
  }
2312
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2313
  "node_modules/mdast-util-math": {
2314
  "version": "3.0.0",
2315
  "resolved": "https://registry.npmjs.org/mdast-util-math/-/mdast-util-math-3.0.0.tgz",
@@ -2527,6 +2667,127 @@
2527
  "micromark-util-types": "^2.0.0"
2528
  }
2529
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2530
  "node_modules/micromark-extension-math": {
2531
  "version": "3.1.0",
2532
  "resolved": "https://registry.npmjs.org/micromark-extension-math/-/micromark-extension-math-3.1.0.tgz",
@@ -3284,6 +3545,24 @@
3284
  "url": "https://opencollective.com/unified"
3285
  }
3286
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3287
  "node_modules/remark-math": {
3288
  "version": "6.0.0",
3289
  "resolved": "https://registry.npmjs.org/remark-math/-/remark-math-6.0.0.tgz",
@@ -3333,6 +3612,21 @@
3333
  "url": "https://opencollective.com/unified"
3334
  }
3335
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3336
  "node_modules/rollup": {
3337
  "version": "4.54.0",
3338
  "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.54.0.tgz",
 
15
  "react-markdown": "^9.0.1",
16
  "react-syntax-highlighter": "^15.5.0",
17
  "rehype-katex": "^7.0.1",
18
+ "remark-gfm": "^4.0.1",
19
  "remark-math": "^6.0.0"
20
  },
21
  "devDependencies": {
 
1629
  "node": ">=6"
1630
  }
1631
  },
1632
+ "node_modules/escape-string-regexp": {
1633
+ "version": "5.0.0",
1634
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz",
1635
+ "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==",
1636
+ "license": "MIT",
1637
+ "engines": {
1638
+ "node": ">=12"
1639
+ },
1640
+ "funding": {
1641
+ "url": "https://github.com/sponsors/sindresorhus"
1642
+ }
1643
+ },
1644
  "node_modules/estree-util-is-identifier-name": {
1645
  "version": "3.0.0",
1646
  "resolved": "https://registry.npmjs.org/estree-util-is-identifier-name/-/estree-util-is-identifier-name-3.0.0.tgz",
 
2290
  "yallist": "^3.0.2"
2291
  }
2292
  },
2293
+ "node_modules/markdown-table": {
2294
+ "version": "3.0.4",
2295
+ "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-3.0.4.tgz",
2296
+ "integrity": "sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==",
2297
+ "license": "MIT",
2298
+ "funding": {
2299
+ "type": "github",
2300
+ "url": "https://github.com/sponsors/wooorm"
2301
+ }
2302
+ },
2303
  "node_modules/math-intrinsics": {
2304
  "version": "1.1.0",
2305
  "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",
 
2309
  "node": ">= 0.4"
2310
  }
2311
  },
2312
+ "node_modules/mdast-util-find-and-replace": {
2313
+ "version": "3.0.2",
2314
+ "resolved": "https://registry.npmjs.org/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.2.tgz",
2315
+ "integrity": "sha512-Tmd1Vg/m3Xz43afeNxDIhWRtFZgM2VLyaf4vSTYwudTyeuTneoL3qtWMA5jeLyz/O1vDJmmV4QuScFCA2tBPwg==",
2316
+ "license": "MIT",
2317
+ "dependencies": {
2318
+ "@types/mdast": "^4.0.0",
2319
+ "escape-string-regexp": "^5.0.0",
2320
+ "unist-util-is": "^6.0.0",
2321
+ "unist-util-visit-parents": "^6.0.0"
2322
+ },
2323
+ "funding": {
2324
+ "type": "opencollective",
2325
+ "url": "https://opencollective.com/unified"
2326
+ }
2327
+ },
2328
  "node_modules/mdast-util-from-markdown": {
2329
  "version": "2.0.2",
2330
  "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-2.0.2.tgz",
 
2349
  "url": "https://opencollective.com/unified"
2350
  }
2351
  },
2352
+ "node_modules/mdast-util-gfm": {
2353
+ "version": "3.1.0",
2354
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-3.1.0.tgz",
2355
+ "integrity": "sha512-0ulfdQOM3ysHhCJ1p06l0b0VKlhU0wuQs3thxZQagjcjPrlFRqY215uZGHHJan9GEAXd9MbfPjFJz+qMkVR6zQ==",
2356
+ "license": "MIT",
2357
+ "dependencies": {
2358
+ "mdast-util-from-markdown": "^2.0.0",
2359
+ "mdast-util-gfm-autolink-literal": "^2.0.0",
2360
+ "mdast-util-gfm-footnote": "^2.0.0",
2361
+ "mdast-util-gfm-strikethrough": "^2.0.0",
2362
+ "mdast-util-gfm-table": "^2.0.0",
2363
+ "mdast-util-gfm-task-list-item": "^2.0.0",
2364
+ "mdast-util-to-markdown": "^2.0.0"
2365
+ },
2366
+ "funding": {
2367
+ "type": "opencollective",
2368
+ "url": "https://opencollective.com/unified"
2369
+ }
2370
+ },
2371
+ "node_modules/mdast-util-gfm-autolink-literal": {
2372
+ "version": "2.0.1",
2373
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-2.0.1.tgz",
2374
+ "integrity": "sha512-5HVP2MKaP6L+G6YaxPNjuL0BPrq9orG3TsrZ9YXbA3vDw/ACI4MEsnoDpn6ZNm7GnZgtAcONJyPhOP8tNJQavQ==",
2375
+ "license": "MIT",
2376
+ "dependencies": {
2377
+ "@types/mdast": "^4.0.0",
2378
+ "ccount": "^2.0.0",
2379
+ "devlop": "^1.0.0",
2380
+ "mdast-util-find-and-replace": "^3.0.0",
2381
+ "micromark-util-character": "^2.0.0"
2382
+ },
2383
+ "funding": {
2384
+ "type": "opencollective",
2385
+ "url": "https://opencollective.com/unified"
2386
+ }
2387
+ },
2388
+ "node_modules/mdast-util-gfm-footnote": {
2389
+ "version": "2.1.0",
2390
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-2.1.0.tgz",
2391
+ "integrity": "sha512-sqpDWlsHn7Ac9GNZQMeUzPQSMzR6Wv0WKRNvQRg0KqHh02fpTz69Qc1QSseNX29bhz1ROIyNyxExfawVKTm1GQ==",
2392
+ "license": "MIT",
2393
+ "dependencies": {
2394
+ "@types/mdast": "^4.0.0",
2395
+ "devlop": "^1.1.0",
2396
+ "mdast-util-from-markdown": "^2.0.0",
2397
+ "mdast-util-to-markdown": "^2.0.0",
2398
+ "micromark-util-normalize-identifier": "^2.0.0"
2399
+ },
2400
+ "funding": {
2401
+ "type": "opencollective",
2402
+ "url": "https://opencollective.com/unified"
2403
+ }
2404
+ },
2405
+ "node_modules/mdast-util-gfm-strikethrough": {
2406
+ "version": "2.0.0",
2407
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-2.0.0.tgz",
2408
+ "integrity": "sha512-mKKb915TF+OC5ptj5bJ7WFRPdYtuHv0yTRxK2tJvi+BDqbkiG7h7u/9SI89nRAYcmap2xHQL9D+QG/6wSrTtXg==",
2409
+ "license": "MIT",
2410
+ "dependencies": {
2411
+ "@types/mdast": "^4.0.0",
2412
+ "mdast-util-from-markdown": "^2.0.0",
2413
+ "mdast-util-to-markdown": "^2.0.0"
2414
+ },
2415
+ "funding": {
2416
+ "type": "opencollective",
2417
+ "url": "https://opencollective.com/unified"
2418
+ }
2419
+ },
2420
+ "node_modules/mdast-util-gfm-table": {
2421
+ "version": "2.0.0",
2422
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-table/-/mdast-util-gfm-table-2.0.0.tgz",
2423
+ "integrity": "sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg==",
2424
+ "license": "MIT",
2425
+ "dependencies": {
2426
+ "@types/mdast": "^4.0.0",
2427
+ "devlop": "^1.0.0",
2428
+ "markdown-table": "^3.0.0",
2429
+ "mdast-util-from-markdown": "^2.0.0",
2430
+ "mdast-util-to-markdown": "^2.0.0"
2431
+ },
2432
+ "funding": {
2433
+ "type": "opencollective",
2434
+ "url": "https://opencollective.com/unified"
2435
+ }
2436
+ },
2437
+ "node_modules/mdast-util-gfm-task-list-item": {
2438
+ "version": "2.0.0",
2439
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-2.0.0.tgz",
2440
+ "integrity": "sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ==",
2441
+ "license": "MIT",
2442
+ "dependencies": {
2443
+ "@types/mdast": "^4.0.0",
2444
+ "devlop": "^1.0.0",
2445
+ "mdast-util-from-markdown": "^2.0.0",
2446
+ "mdast-util-to-markdown": "^2.0.0"
2447
+ },
2448
+ "funding": {
2449
+ "type": "opencollective",
2450
+ "url": "https://opencollective.com/unified"
2451
+ }
2452
+ },
2453
  "node_modules/mdast-util-math": {
2454
  "version": "3.0.0",
2455
  "resolved": "https://registry.npmjs.org/mdast-util-math/-/mdast-util-math-3.0.0.tgz",
 
2667
  "micromark-util-types": "^2.0.0"
2668
  }
2669
  },
2670
+ "node_modules/micromark-extension-gfm": {
2671
+ "version": "3.0.0",
2672
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-3.0.0.tgz",
2673
+ "integrity": "sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==",
2674
+ "license": "MIT",
2675
+ "dependencies": {
2676
+ "micromark-extension-gfm-autolink-literal": "^2.0.0",
2677
+ "micromark-extension-gfm-footnote": "^2.0.0",
2678
+ "micromark-extension-gfm-strikethrough": "^2.0.0",
2679
+ "micromark-extension-gfm-table": "^2.0.0",
2680
+ "micromark-extension-gfm-tagfilter": "^2.0.0",
2681
+ "micromark-extension-gfm-task-list-item": "^2.0.0",
2682
+ "micromark-util-combine-extensions": "^2.0.0",
2683
+ "micromark-util-types": "^2.0.0"
2684
+ },
2685
+ "funding": {
2686
+ "type": "opencollective",
2687
+ "url": "https://opencollective.com/unified"
2688
+ }
2689
+ },
2690
+ "node_modules/micromark-extension-gfm-autolink-literal": {
2691
+ "version": "2.1.0",
2692
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.1.0.tgz",
2693
+ "integrity": "sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==",
2694
+ "license": "MIT",
2695
+ "dependencies": {
2696
+ "micromark-util-character": "^2.0.0",
2697
+ "micromark-util-sanitize-uri": "^2.0.0",
2698
+ "micromark-util-symbol": "^2.0.0",
2699
+ "micromark-util-types": "^2.0.0"
2700
+ },
2701
+ "funding": {
2702
+ "type": "opencollective",
2703
+ "url": "https://opencollective.com/unified"
2704
+ }
2705
+ },
2706
+ "node_modules/micromark-extension-gfm-footnote": {
2707
+ "version": "2.1.0",
2708
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.1.0.tgz",
2709
+ "integrity": "sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==",
2710
+ "license": "MIT",
2711
+ "dependencies": {
2712
+ "devlop": "^1.0.0",
2713
+ "micromark-core-commonmark": "^2.0.0",
2714
+ "micromark-factory-space": "^2.0.0",
2715
+ "micromark-util-character": "^2.0.0",
2716
+ "micromark-util-normalize-identifier": "^2.0.0",
2717
+ "micromark-util-sanitize-uri": "^2.0.0",
2718
+ "micromark-util-symbol": "^2.0.0",
2719
+ "micromark-util-types": "^2.0.0"
2720
+ },
2721
+ "funding": {
2722
+ "type": "opencollective",
2723
+ "url": "https://opencollective.com/unified"
2724
+ }
2725
+ },
2726
+ "node_modules/micromark-extension-gfm-strikethrough": {
2727
+ "version": "2.1.0",
2728
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.1.0.tgz",
2729
+ "integrity": "sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw==",
2730
+ "license": "MIT",
2731
+ "dependencies": {
2732
+ "devlop": "^1.0.0",
2733
+ "micromark-util-chunked": "^2.0.0",
2734
+ "micromark-util-classify-character": "^2.0.0",
2735
+ "micromark-util-resolve-all": "^2.0.0",
2736
+ "micromark-util-symbol": "^2.0.0",
2737
+ "micromark-util-types": "^2.0.0"
2738
+ },
2739
+ "funding": {
2740
+ "type": "opencollective",
2741
+ "url": "https://opencollective.com/unified"
2742
+ }
2743
+ },
2744
+ "node_modules/micromark-extension-gfm-table": {
2745
+ "version": "2.1.1",
2746
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.1.tgz",
2747
+ "integrity": "sha512-t2OU/dXXioARrC6yWfJ4hqB7rct14e8f7m0cbI5hUmDyyIlwv5vEtooptH8INkbLzOatzKuVbQmAYcbWoyz6Dg==",
2748
+ "license": "MIT",
2749
+ "dependencies": {
2750
+ "devlop": "^1.0.0",
2751
+ "micromark-factory-space": "^2.0.0",
2752
+ "micromark-util-character": "^2.0.0",
2753
+ "micromark-util-symbol": "^2.0.0",
2754
+ "micromark-util-types": "^2.0.0"
2755
+ },
2756
+ "funding": {
2757
+ "type": "opencollective",
2758
+ "url": "https://opencollective.com/unified"
2759
+ }
2760
+ },
2761
+ "node_modules/micromark-extension-gfm-tagfilter": {
2762
+ "version": "2.0.0",
2763
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-2.0.0.tgz",
2764
+ "integrity": "sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==",
2765
+ "license": "MIT",
2766
+ "dependencies": {
2767
+ "micromark-util-types": "^2.0.0"
2768
+ },
2769
+ "funding": {
2770
+ "type": "opencollective",
2771
+ "url": "https://opencollective.com/unified"
2772
+ }
2773
+ },
2774
+ "node_modules/micromark-extension-gfm-task-list-item": {
2775
+ "version": "2.1.0",
2776
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-2.1.0.tgz",
2777
+ "integrity": "sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw==",
2778
+ "license": "MIT",
2779
+ "dependencies": {
2780
+ "devlop": "^1.0.0",
2781
+ "micromark-factory-space": "^2.0.0",
2782
+ "micromark-util-character": "^2.0.0",
2783
+ "micromark-util-symbol": "^2.0.0",
2784
+ "micromark-util-types": "^2.0.0"
2785
+ },
2786
+ "funding": {
2787
+ "type": "opencollective",
2788
+ "url": "https://opencollective.com/unified"
2789
+ }
2790
+ },
2791
  "node_modules/micromark-extension-math": {
2792
  "version": "3.1.0",
2793
  "resolved": "https://registry.npmjs.org/micromark-extension-math/-/micromark-extension-math-3.1.0.tgz",
 
3545
  "url": "https://opencollective.com/unified"
3546
  }
3547
  },
3548
+ "node_modules/remark-gfm": {
3549
+ "version": "4.0.1",
3550
+ "resolved": "https://registry.npmjs.org/remark-gfm/-/remark-gfm-4.0.1.tgz",
3551
+ "integrity": "sha512-1quofZ2RQ9EWdeN34S79+KExV1764+wCUGop5CPL1WGdD0ocPpu91lzPGbwWMECpEpd42kJGQwzRfyov9j4yNg==",
3552
+ "license": "MIT",
3553
+ "dependencies": {
3554
+ "@types/mdast": "^4.0.0",
3555
+ "mdast-util-gfm": "^3.0.0",
3556
+ "micromark-extension-gfm": "^3.0.0",
3557
+ "remark-parse": "^11.0.0",
3558
+ "remark-stringify": "^11.0.0",
3559
+ "unified": "^11.0.0"
3560
+ },
3561
+ "funding": {
3562
+ "type": "opencollective",
3563
+ "url": "https://opencollective.com/unified"
3564
+ }
3565
+ },
3566
  "node_modules/remark-math": {
3567
  "version": "6.0.0",
3568
  "resolved": "https://registry.npmjs.org/remark-math/-/remark-math-6.0.0.tgz",
 
3612
  "url": "https://opencollective.com/unified"
3613
  }
3614
  },
3615
+ "node_modules/remark-stringify": {
3616
+ "version": "11.0.0",
3617
+ "resolved": "https://registry.npmjs.org/remark-stringify/-/remark-stringify-11.0.0.tgz",
3618
+ "integrity": "sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==",
3619
+ "license": "MIT",
3620
+ "dependencies": {
3621
+ "@types/mdast": "^4.0.0",
3622
+ "mdast-util-to-markdown": "^2.0.0",
3623
+ "unified": "^11.0.0"
3624
+ },
3625
+ "funding": {
3626
+ "type": "opencollective",
3627
+ "url": "https://opencollective.com/unified"
3628
+ }
3629
+ },
3630
  "node_modules/rollup": {
3631
  "version": "4.54.0",
3632
  "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.54.0.tgz",
web/package.json CHANGED
@@ -16,6 +16,7 @@
16
  "react-markdown": "^9.0.1",
17
  "react-syntax-highlighter": "^15.5.0",
18
  "rehype-katex": "^7.0.1",
 
19
  "remark-math": "^6.0.0"
20
  },
21
  "devDependencies": {
 
16
  "react-markdown": "^9.0.1",
17
  "react-syntax-highlighter": "^15.5.0",
18
  "rehype-katex": "^7.0.1",
19
+ "remark-gfm": "^4.0.1",
20
  "remark-math": "^6.0.0"
21
  },
22
  "devDependencies": {
web/src/App.tsx CHANGED
@@ -2,6 +2,7 @@ import React, { useState, useRef, useEffect, useMemo } from 'react';
2
  import ReactMarkdown from 'react-markdown';
3
  import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter';
4
  import remarkMath from 'remark-math';
 
5
  import rehypeKatex from 'rehype-katex';
6
  import 'katex/dist/katex.min.css';
7
  import Login from './Login';
@@ -563,7 +564,7 @@ function App() {
563
  </div>
564
  <div className="message-content">
565
  <ReactMarkdown
566
- remarkPlugins={[remarkMath]}
567
  rehypePlugins={[rehypeKatex]}
568
  components={{
569
  code({ className, children, ...props }: any) {
 
2
  import ReactMarkdown from 'react-markdown';
3
  import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter';
4
  import remarkMath from 'remark-math';
5
+ import remarkGfm from 'remark-gfm';
6
  import rehypeKatex from 'rehype-katex';
7
  import 'katex/dist/katex.min.css';
8
  import Login from './Login';
 
564
  </div>
565
  <div className="message-content">
566
  <ReactMarkdown
567
+ remarkPlugins={[remarkMath, remarkGfm]}
568
  rehypePlugins={[rehypeKatex]}
569
  components={{
570
  code({ className, children, ...props }: any) {