ParserHooks
case class ParserHooks(postProcessBlocks: Seq[Block] => Seq[Block], postProcessDocument: UnresolvedDocument => UnresolvedDocument, preProcessInput: DocumentInput => DocumentInput)
Hooks for markup parsers to control aspects beyond the individual span and block parsers defined for the host language.
- Value parameters:
- postProcessBlocks
function invoked for every block container, allowing post-processing of the result
- postProcessDocument
function invoked after parsing but before rewriting, allowing to modify the document
- preProcessInput
function invoked before parsing, allowing to pre-process the input
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any