code: function markdownToArray(markdown = '') {
    markdown = (0, _trim2.default)(markdown);
  
    return markdown ? (0, _jsx.htmlToArray)(markdownToUnwrappedHTML(markdown)) : [];
  }
docs: Converts an arbitrary Markdown string to an array of plain objects describing React Elements for easy
  serialization/unserialization.
  
  @memberof module:markdown
  @method markdownToArray
  @param {string} [markdown=""] - an arbitrary Markdown string
  @return {Array<string|Object>} an array of plain objects describing React Elements
  @example
  import {markdownToArray} from 'webcompiler';
  // or - import {markdownToArray} from 'webcompiler/lib/markdown';
  // or - var markdownToArray = require('webcompiler').markdownToArray;
  // or - var markdownToArray = require('webcompiler/lib/markdown').markdownToArray;
  
  markdownToArray('# Hello world!'); // [{type: 'h1', children: ['Hello world!']}]