MarkdownParserStateInterface
in
Table of Contents
Methods
- getActiveBlockParser() : BlockContinueParserInterface
- Returns the deepest open block parser
- getLastMatchedBlockParser() : BlockContinueParserInterface
- 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.
- getParagraphContent() : string|null
- Returns the current content of the paragraph if the matched block is a paragraph. The content can be multiple lines separated by newlines.
Methods
getActiveBlockParser()
Returns the deepest open block parser
public
getActiveBlockParser() : BlockContinueParserInterface
Return values
BlockContinueParserInterfacegetLastMatchedBlockParser()
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
getLastMatchedBlockParser() : BlockContinueParserInterface
Return values
BlockContinueParserInterfacegetParagraphContent()
Returns the current content of the paragraph if the matched block is a paragraph. The content can be multiple lines separated by newlines.
public
getParagraphContent() : string|null