init

fun init(flavor: MarkdownFlavor, loadableLibraryExporters: Set<LibraryExporter>, options: PipelineOptions, printOutput: Boolean, renderer: (RendererFactory, Context) -> RenderingComponents): Pipeline

Initializes a Pipeline with the given flavor.

Return

the new pipeline

Parameters

flavor

flavor to use across the pipeline

loadableLibraryExporters

exporters of external libraries that can be loaded by the user

options

options that define the behavior of the pipeline

printOutput

whether to output the rendered result to standard output, suitable for piping

renderer

function that provides the rendering components given a renderer factory and context