interface
League
/
CommonMark
/
Parser
/
MarkdownParserStateInterface
You are viewing an older version of the documentation. For the latest, please visit 2.4 documentation.
MarkdownParserStateInterface
Methods
public
getActiveBlockParser ( ) : void
Returns the deepest open block parser
public
getLastMatchedBlockParser ( ) : void
Open block parser that was last matched during the continue phase. This is different from the currently active block parser, as an unmatched block is only closed when a new block is started.
public
getParagraphContent ( ) : void
Returns the current content of the paragraph if the matched block is a paragraph. The content can be multiple lines separated by newlines.