Interface ParagraphPreProcessor
- All Known Implementing Classes:
CommonmarkInlineParser, EnumeratedReferenceParagraphPreProcessor, InlineParserImpl, TableParagraphPreProcessor, ZzzzzzParagraphPreProcessor
public interface ParagraphPreProcessor
-
Method Summary
Modifier and TypeMethodDescriptionintpreProcessBlock(Paragraph block, ParserState state) Process Paragraph Content on closing of the paragraph block to removeIndex non-text lines.
-
Method Details
-
preProcessBlock
Process Paragraph Content on closing of the paragraph block to removeIndex non-text lines.This is used by extensions to take leading lines from a paragraph and convert them to other blocks
by Default leading lines that define references are removed and Reference nodes are inserted before.
- Parameters:
block- paragraph node to processstate- parser state- Returns:
- number of characters processed from the start of the block
-