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 4444 "react-dom" : " >=16.8.0"
4545 },
4646 "dependencies" : {
47- "@babel/runtime" : " 7.13.10 " ,
47+ "@babel/runtime" : " 7.15.3 " ,
4848 "@mapbox/rehype-prism" : " 0.7.0" ,
4949 "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 " ,
5353 "rehype-rewrite" : " 1.0.2" ,
5454 "react-markdown" : " 6.0.3"
5555 },
7272 "eslintConfig" : {
7373 "extends" : " react-app"
7474 },
75+ "engines" : {
76+ "node" : " ^12.20.0 || ^14.13.1 || >=16.0.0"
77+ },
7578 "browserslist" : {
7679 "production" : [
7780 " >0.2%" ,
Original file line number Diff line number Diff line change 11import React , { useImperativeHandle } from 'react' ;
22import ReactMarkdown from 'react-markdown' ;
3+ // @ts -ignore
34import gfm from 'remark-gfm' ;
45// @ts -ignore
56import slug from 'remark-slug' ;
67// @ts -ignore
78import headings from 'remark-autolink-headings'
9+ // @ts -ignore
810import rehypeRaw from 'rehype-raw' ;
911import rehypePrism from '@mapbox/rehype-prism' ;
12+ // @ts -ignore
1013import rehypeRewrite from 'rehype-rewrite' ;
1114import './styles/markdown.less' ;
1215import './styles/markdowncolor.less' ;
You can’t perform that action at this time.
0 commit comments