code: function shouldFormatInline(node, profile) {
  	if (!isInline(node, profile)) {
  		return false;
  	}
  
  	if (isPseudoSnippet(node)) {
  		return true;
  	}
  
  	// check if inline node is the next sibling of block-level node
  	if (node.childIndex === 0) {
  		// first node in parent: format if it’s followed by a block-level element
  		let next = node;
  		while (next = next.nextSibling) {
  			if (!isInline(next, profile)) {
  				return true;
  			}
  		}
  	} else if (!isInline(node.previousSibling, profile)) {
  		// node is right after block-level element
  		return true;
  	}
  
  	if (profile.get('inlineBreak')) {
  		// check for adjacent inline elements before and after current element
  		let adjacentInline = 1;
  		let before = node, after = node;
  
  		while (isInlineElement((before = before.previousSibling), profile)) {
  			adjacentInline++;
  		}
  
  		while (isInlineElement((after = after.nextSibling), profile)) {
  			adjacentInline++;
  		}
  
  		if (adjacentInline >= profile.get('inlineBreak')) {
  			return true;
  		}
  	}
  
  	// Another edge case: inline node contains node that should receive foramtting
  	for (let i = 0, il = node.children.length; i < il; i++) {
  		if (shouldFormatNode(node.children[i], profile)) {
  			return true;
  		}
  	}
  
  	return false;
  }
docs: Check if given inline node should be formatted as well, e.g. it contains
  enough adjacent siblings that should force formatting
  @param  {Node} node
  @param  {Profile} profile
  @return {Boolean}