I need to create a documentation component that renders .md files.
I have a collection of .md files (that could potentially be stored in a DB instead of having files) and I would like to allow users do navigate the documentation and see articles.
About rendering the files I've tried most of the stuff the Google has listed am currently, I am experimenting with the component react-markdown.
I'm having trouble figuring out the code highlight peace and I was wondering if there is a component out there, that does that out of the box or that have it as a straight boolean option.
<ReactMarkdown source={file}/>
note: I've checked the answer in How do I render Markdown from a React component? and couldn't find a good one.