I do not know how to import a markdown file with react markdown-to-jsx
constructor(props) {
super(props);
this.state = {}
}
render() {
return ( <div> <File/><Markdown>asd</Markdown></div>);
}
as you can see above but I want something like
constructor(props) {
super(props);
this.state = {}
}
render() {
return (
<div>
<File />
<Markdown source="./markdownfile.md">
</Markdown>
</div>);
}