mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-14 15:16:09 -05:00
Bump react-markdown from 4.3.1 to 5.0.3 (#374)
* Bump react-markdown from 4.3.1 to 5.0.3 Bumps [react-markdown](https://github.com/remarkjs/react-markdown) from 4.3.1 to 5.0.3. - [Release notes](https://github.com/remarkjs/react-markdown/releases) - [Changelog](https://github.com/remarkjs/react-markdown/blob/main/changelog.md) - [Commits](https://github.com/remarkjs/react-markdown/compare/v4.3.1...5.0.3) Signed-off-by: dependabot[bot] <support@github.com> * add github style md parser Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kalle (Sendou) <38327916+Sendouc@users.noreply.github.com>
This commit is contained in:
@@ -21,6 +21,7 @@ import {
|
||||
import { useMyTheme } from "hooks/common";
|
||||
import ReactMarkdown from "react-markdown";
|
||||
import reactStringReplace from "react-string-replace";
|
||||
import gfm from "remark-gfm";
|
||||
import MyLink from "./MyLink";
|
||||
|
||||
interface MarkdownProps {
|
||||
@@ -211,6 +212,7 @@ const Markdown: React.FC<MarkdownProps> = ({
|
||||
source={value.replace(/\n/g, " \n")}
|
||||
renderers={ChakraUIRenderer()}
|
||||
disallowedTypes={allowAll ? [] : ["imageReference", "image"]}
|
||||
plugins={[gfm]}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
995
package-lock.json
generated
995
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -55,11 +55,12 @@
|
||||
"react-hotkeys-hook": "^3.3.0",
|
||||
"react-icons": "^4.2.0",
|
||||
"react-infinite-scroller": "^1.2.4",
|
||||
"react-markdown": "^4.3.1",
|
||||
"react-markdown": "^5.0.3",
|
||||
"react-query": "^3.13.4",
|
||||
"react-select": "^4.3.0",
|
||||
"react-string-replace": "^0.4.4",
|
||||
"recharts": "^2.0.9",
|
||||
"remark-gfm": "^1.0.0",
|
||||
"superjson": "^1.7.3",
|
||||
"swr": "^0.5.5",
|
||||
"ts-trueskill": "^3.2.0",
|
||||
|
||||
Reference in New Issue
Block a user