function slateToMarkdown(raw, { voidCodeBlock, remarkPlugins = [] } = {}) {
  const mdast = slateToRemark(raw, { voidCodeBlock });
  const markdown = remarkToMarkdown(mdast, remarkPlugins);
  return markdown;
}
Convert a Slate Raw AST to Markdown.

Requires shortcode plugins to parse shortcode nodes back to text.

Note that Unified is not utilized for the conversion from Slate's Raw AST to
MDAST. The conversion is manual because Unified can only operate on Unist
trees.