Welcome to mirror list, hosted at ThFree Co, Russian Federation.
1 2 3 4 5 6 7
const canRender = (node) => ['emph', 'strong'].includes(node.parent?.type); const render = () => ({ type: 'text', content: ' ', }); export default { canRender, render };