function parseWithCommonmark(markdown) {
  const parsed = reader.parse(markdown);
  return writer.render(parsed);
}
Each test receives input markdown and output html as expected for Commonmark
compliance. To test all of our handling in one go, we serialize the markdown
into our Slate AST, then back to raw markdown, and finally to HTML.