All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vladsch.flexmark.parser.block.ParagraphPreProcessor Maven / Gradle / Ivy

There is a newer version: 4.15.102
Show newest version
package com.vladsch.flexmark.parser.block;

import com.vladsch.flexmark.ast.Paragraph;

public interface ParagraphPreProcessor {
    /**
     * 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. * * @param block paragraph node to process * @param state parser state * @return number of characters processed from the start of the block */ int preProcessBlock(Paragraph block, ParserState state); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy