File tree Expand file tree Collapse file tree 3 files changed +10
-33
lines changed Expand file tree Collapse file tree 3 files changed +10
-33
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 44
44
"react-dom" : " >=16.8.0"
45
45
},
46
46
"dependencies" : {
47
- "@babel/runtime" : " 7.13.10 " ,
47
+ "@babel/runtime" : " 7.15.3 " ,
48
48
"@mapbox/rehype-prism" : " 0.7.0" ,
49
49
"rehype-raw" : " 5.1.0" ,
50
- "remark-gfm" : " 2 .0.0" ,
51
- "remark-slug" : " 7 .0.0" ,
52
- "remark-autolink-headings" : " 7 .0.0 " ,
50
+ "remark-gfm" : " 1 .0.0" ,
51
+ "remark-slug" : " 6 .0.0" ,
52
+ "remark-autolink-headings" : " 6 .0.1 " ,
53
53
"rehype-rewrite" : " 1.0.2" ,
54
54
"react-markdown" : " 6.0.3"
55
55
},
72
72
"eslintConfig" : {
73
73
"extends" : " react-app"
74
74
},
75
+ "engines" : {
76
+ "node" : " ^12.20.0 || ^14.13.1 || >=16.0.0"
77
+ },
75
78
"browserslist" : {
76
79
"production" : [
77
80
" >0.2%" ,
Original file line number Diff line number Diff line change 1
1
import React , { useImperativeHandle } from 'react' ;
2
2
import ReactMarkdown from 'react-markdown' ;
3
+ // @ts -ignore
3
4
import gfm from 'remark-gfm' ;
4
5
// @ts -ignore
5
6
import slug from 'remark-slug' ;
6
7
// @ts -ignore
7
8
import headings from 'remark-autolink-headings'
9
+ // @ts -ignore
8
10
import rehypeRaw from 'rehype-raw' ;
9
11
import rehypePrism from '@mapbox/rehype-prism' ;
12
+ // @ts -ignore
10
13
import rehypeRewrite from 'rehype-rewrite' ;
11
14
import './styles/markdown.less' ;
12
15
import './styles/markdowncolor.less' ;
You can’t perform that action at this time.
0 commit comments