These are chat archives for wooorm/remark

23rd
Oct 2016
Jesse
@motleydev
Oct 23 2016 20:22
@wooorm I'm trying to implement the raw module, but it's not seeming to work.
function mdify(text) {
  return unified()
  .use(remarkParse, {
    commonmark: true,
    footnotes: true
  })
  .use(remarkRehype, {
    allowDangerousHTML: true
  })
  .use(raw)
  .use(rehypeStringify)
  .process(text).toString();
}