getNodeByElement method
Implementation
SpanNode getNodeByElement(m.Element element, MarkdownConfig config) {
return _tag2node[element.tag]?.call(element, config, this) ??
textGenerator?.call(element, config, this) ??
TextNode(text: element.textContent);
}