code: function decodeTags (tags) {
    let elementType = 'p';
    const classes = [];
    tags.forEach(tag => {
      if (typeof tag !== 'string') return;
      const foundTag = tag.match(/^<([\w-]+)>$/);
      if (foundTag) {
        elementType = foundTag[1];
        return;
      }
      const foundClass = tag.match(/^\.([\w-]+)$/);
      if (foundClass) {
        classes.push(foundClass[1]);
        return;
      }
    });
    return {elementType, classes};
  }
docs: /* Decode classes and elements from a list of Ink tags. /* Returns a {elementType, classes} object. Defaults to "p" and nothing.