Comments not Working #562
Answered
by
wooorm
Prottoy2938
asked this question in
Q&A
-
I'm using react-markdown package to render markdown. So far everything working as expected, except for the comments. When doing comments like this: My component code: import React from "react";
import { Props } from "./add-content.model";
import ReactMarkdown from "react-markdown";
import gfm from "remark-gfm";
import "github-markdown-css";
const AddContent: React.FC<Props> = (props: Props) => {
const {content} = props
return (
<ReactMarkdown plugins={[gfm]}>{content}</ReactMarkdown>
);
};
export default AddContent;
|
Beta Was this translation helpful? Give feedback.
Answered by
wooorm
Nov 9, 2020
Replies: 1 comment
-
Hi there! See the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ChristianMurphy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there! See the
skipHtml
option.