code: function (node) {
      const parent = node.parentNode
      return parent.classList.contains('code') && parent.nodeName === 'TD' && node.nodeName === 'PRE'
    }
docs: To handle code that is presented as below (see https://github.com/laurent22/joplin/issues/573)  <td class="code"> <pre class="python"> <span style="color: #ff7700;font-weight:bold;">def</span> ma_fonction </pre> </td>