Components: Markdown - remarkable

reactjs
markdown
#1

Jonschlinkert remarkable on Github
See link for full guide and details

Added to pages with:
const Remarkable = require('remarkable');

const markdownSection3 = md.rende( text here )
(inside the brackets above you need to add one of these ` on both sides, but i can’t display that here as Discourse ironically turns it into markdown)

Standard set-up:

const md = new Remarkable();
md.set({
  breaks: true,
  linkify: true
});

Doesn’t work with codes like these inside a string:

<br> <br /> /

Components Directory