docs: function extractTitle (markup, strip) {
    const matches = /<h1[^>]*>([^<]*)<\/h1>/.exec(markup);
  
    if (!matches) return markup;
  
    const result = {
      title: matches[1]
    };
  
    if (strip) result.body = markup.replace(matches[0], '').trim();
  
    return result;
  }