variable Markdown

Renders GFM with @mentions as profile links and single newlines kept. It is memoized because parsing runs the whole remark pipeline, and the text rarely changes when its parent re-renders.

Type

React.MemoExoticComponent<(props: MarkdownProps) => React.JSX.Element>

Usage

import { Markdown } from "src/components/editor/Markdown.tsx";