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

com.vladsch.flexmark.html.renderer.NodeRendererFactory Maven / Gradle / Ivy

Go to download

Core of flexmark-java (implementation of CommonMark for parsing markdown and rendering to HTML)

There is a newer version: 0.64.8
Show newest version
package com.vladsch.flexmark.html.renderer;

import com.vladsch.flexmark.util.data.DataHolder;
import org.jetbrains.annotations.NotNull;

import java.util.function.Function;

/**
 * Factory for instantiating new node renderers when rendering is done.
 */
public interface NodeRendererFactory extends Function {
    /**
     * Create a new node renderer for the specified rendering context.
     *
     * @param options the context for rendering (normally passed on to the node renderer)
     * @return a node renderer
     */
    @NotNull NodeRenderer apply(@NotNull DataHolder options);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy