import React from 'react'; import ReactMarkdown from 'react-markdown'; import gfm from 'remark-gfm'; import autolinkHeadings from 'rehype-autolink-headings'; import slug from 'rehype-slug'; import highlight from 'rehype-highlight/light'; import { transformLinkPath } from './renderers/transform-link-path'; import { transformImagePath } from './renderers/transform-image-path'; import { renderIframes } from './renderers/render-iframe'; export interface ContentProps { data: string; flavor: string; version: string; } export function Content(props: ContentProps) { return (