lib/format/markdown.js
function createMarkdownSerializer(indentCodeBlocks) {
  return {
    serialize: (name, suite) => snapshotToMarkdown(name, suite, indentCodeBlocks),
    deserialize: markdownToSnapshot,
  };
}
function createMarkdownSerializer(indentCodeBlocks) {
  return {
    serialize: (name, suite) => snapshotToMarkdown(name, suite, indentCodeBlocks),
    deserialize: markdownToSnapshot,
  };
}
createMarkdownSerializer create a snapshot serializer.

@param {boolean} indentCodeBlocks Use indentation for code blocks.
@returns Snapshot serializer.