import markdownIt from 'markdown-it';

const m = markdownIt({
  html: true,
  breaks: true,
  linkify: true
});

export default function markdown(value) {
  return m.render(value);
}