createSession

fun createSession(cliOptions: CliOptions, pipelineOptions: PipelineOptions): QuarkdownSession

Creates the session every CLI compilation runs in. A session is created once per command and reused across live preview recompilations.

Return

the new session

Parameters

cliOptions

options that define the behavior of the CLI

pipelineOptions

options that define the behavior of the pipeline