mixinafFandoc::PreProcessor
afFandoc::PreProcessor
@Js
An interface for processing <pre> text blocks.
- divProcessor
static PreProcessor divProcessor(HtmlDocWriter docWriter)Create HTML block elements.
- fromFn
static new fromFn(|HtmlElem,Uri,Str->Obj? fn)Creates a
PreProcessorfrom the given fn.- htmlProcessor
static PreProcessor htmlProcessor()Adds the pre-text as raw HTML.
- process
abstract Obj? process(HtmlElem elem, Uri cmd, Str text)Implement to process the given
pretext to the givenout.- syntaxProcessor
static PreProcessor syntaxProcessor()Standard Syntax pretty printing.
- tableProcessor
static PreProcessor tableProcessor()Standard table printing.