interface League / CommonMark / Parser / Block / BlockStartParserInterface
You are viewing an older version of the documentation. For the latest, please visit 2.4 documentation.

BlockStartParserInterface

Methods

public

tryStart ( Cursor $cursor , MarkdownParserStateInterface $parserState ) : BlockStart|null

Check whether we should handle the block at the current position

Parameters

  • $cursor Cursor
    A cloned copy of the cursor at the current parsing location
  • $parserState MarkdownParserStateInterface
    Additional information about the state of the Markdown parser