blockElementMatcher function
Implementation
CustomRenderMatcher blockElementMatcher() => (context) {
return (context.tree.style.display == Display.block ||
context.tree.style.display == Display.inlineBlock) &&
(context.tree.children.isNotEmpty ||
context.tree.element?.localName == "hr");
};