src/language-markdown/printer-markdown.js/getLastDescendantNode
function getLastDescendantNode(node) {
  let current = node;
  while (isNonEmptyArray(current.children)) {
    current = getLast(current.children);
  }
  return current;
}