src/markdown/to_markdown.js
// or a function from a `MarkdownSerializer` and a `Mark` to a string.
or a function from a `MarkdownSerializer` and a `Mark` to a string.
or a function from a ` MarkdownSerializer ` and a ` Mark ` to a string .
function toMarkdown(doc) {
  let state = new MarkdownSerializer
  state.renderContent(doc)
  return state.out
}
function toMarkdown ( doc ) { let state = new MarkdownSerializer state . renderContent ( doc ) return state . out }
or a function from a `MarkdownSerializer` and a `Mark` to a string.
or a function from a ` MarkdownSerializer ` and a ` Mark ` to a string .