code: function processCodeMark(markTypes) {
    const isInlineCode = markTypes.includes('inlineCode');
    const filteredMarkTypes = isInlineCode ? without(markTypes, 'inlineCode') : markTypes;
    const textNodeType = isInlineCode ? 'inlineCode' : 'html';
    return { filteredMarkTypes, textNodeType };
  }
docs: Slate treats inline code decoration as a standard mark, but MDAST does
  not allow inline code nodes to contain children, only a single text
  value. An MDAST inline code node can be nested within mark nodes such
  as "emphasis" and "strong", but it cannot contain them.
  
  Because of this, if a "code" mark (translated to MDAST "inlineCode") is
  in the markTypes array, we make the base text node an "inlineCode" type
  instead of a standard text node.