Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

render markdown in nextjs

// Render Markdown in Next.JS + React:
import ReactMarkdown from 'react-markdown';

export default function ThePage() {
  const markdown = `## _The Last Markdown Editor, Ever_`;
  return <ReactMarkdown source = { markdown } />
}
Source by smarative.com #
 
PREVIOUS NEXT
Tagged: #render #markdown #nextjs
ADD COMMENT
Topic
Name
9+3 =