Interface BlockPreProcessorFactory

    • Method Detail

      • getBlockTypes

        @NotNull
        java.util.Set<java.lang.Class<? extends Block>> getBlockTypes()
        Block types that this pre-processors processes
        Returns:
        set of block node types
      • apply

        @NotNull
        BlockPreProcessor apply​(@NotNull
                                ParserState state)
        Create a paragraph pre processor for the document
        Specified by:
        apply in interface java.util.function.Function<ParserState,​BlockPreProcessor>
        Parameters:
        state - parser state, document blocks have already been parsed at this stage
        Returns:
        block pre-processor