Rome Project Overview

I breadown the reasoning behind the Rome Project brought to you buy the creator of Babel and Yarn.

NextJS logo

You will want to use the next/image component to do this and it's not very easy using remark. This is where react-markdown comes to the rescue.

Firstly, install react-markdown using your favorite package manager:

# npm
npm install react-markdown
# yarn
yarn add react-markdown

Once installed, you can now parse the markdown content and pass chunks to your components:

import rmd from "react-markdown";

const parseContent = (content) => {
  return {
    something: "here"
  };
};