Top Methods
com.vladsch.flexmark.parser.block

public Interface ParagraphPreProcessor

Known Direct Implementers
com.vladsch.flexmark.parser.internal.InlineParserImpl
Imports
com.vladsch.flexmark.ast.Paragraph

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

number of characters processed from the start of the block
preProcessBlock
(Paragraph
paragraph node to process
block
,
ParserState
parser state
state
)

Process Paragraph Content on closing of the paragraph block to removeIndex non-text lines.

Method Detail

preProcessBlockback to summary
public int preProcessBlock(Paragraph block, ParserState state)

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

paragraph node to process

state:ParserState

parser state

Returns:int

number of characters processed from the start of the block