QuarkdownSession

class QuarkdownSession(template: Pipeline)

A long-lived compilation environment, where a template Pipeline is set up once, and every compilation runs a copy of it over its own context.

Parameters

template

the pipeline every compilation is a copy of

Constructors

Link copied to clipboard
constructor(template: Pipeline)

Functions

Link copied to clipboard

Compiles source in a fresh context, released afterward.

Link copied to clipboard

Creates a fresh context with the template's flavor and loadable libraries. The caller must MutableContext.close it once no pipeline has to run on it anymore.

Link copied to clipboard

Creates a copy of the template pipeline bound to context. The same pipeline can be executed repeatedly on its context, with definitions persisting between executions.