canParse method

  1. @override
bool canParse(
  1. BlockParser parser
)
override

Implementation

@override
bool canParse(BlockParser parser) =>
    pattern.hasMatch(parser.current.content) &&
    !hrPattern.hasMatch(parser.current.content);