ParserHooks
laika.bundle.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.
Attributes
- 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
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any