MdRenderer

MdRenderer

A React component that renders markdown content as HTML

属性说明类型默认值
contentThe markdown content to renderstring (必填)-
import { MdRenderer } from '@/react';

function App() {
  return (
    <MdRenderer content={`
    [Arya](https://markdown.lovejade.cn/?ref=markdown.lovejade.cn),是一款基贴`} />
  );
}

export default App;