Skip to content

Instantly share code, notes, and snippets.

Created March 25, 2020 16:42
What would you like to do?
var unified = require('unified')
var markdown = require('remark-parse')
var remark2rehype = require('remark-rehype')
var html = require('rehype-stringify')
var report = require('vfile-reporter')
.process('# Hello world!\n<blockquote>foo</blockquote>', function(err, file) {
console.error(report(err || file))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment