REACT JS notable
import Remarkable from 'remarkable';import RemarkableReactRenderer from 'remarkable-react'; const md = new Remarkable();md.renderer = new RemarkableReactRenderer(); console.log(md.render('# Remarkable rulezz!')); /* * => [ * ReactComponent { * type: 'h1', * key: 0, * props: { * children: ['Remarkable ruleszz!'] * }, * } * ] */}
smc181002