mixinafFandoc::PreProcessor

afFandoc::PreProcessor

@Js

An interface for processing <pre> text blocks.

divProcessor

Source

static PreProcessor divProcessor(HtmlDocWriter docWriter)

Create HTML block elements.

fromFn

Source

static new fromFn(|HtmlElem,Uri,Str->Obj? fn)

Creates a PreProcessor from the given fn.

htmlProcessor

Source

static PreProcessor htmlProcessor()

Adds the pre-text as raw HTML.

process

Source

abstract Obj? process(HtmlElem elem, Uri cmd, Str text)

Implement to process the given pre text to the given out.

syntaxProcessor

Source

static PreProcessor syntaxProcessor()

Standard Syntax pretty printing.

tableProcessor

Source

static PreProcessor tableProcessor()

Standard table printing.