MarkupExtensions
laika.bundle.MarkupExtensions
case class MarkupExtensions(blockParsers: Seq[BlockParserBuilder], spanParsers: Seq[SpanParserBuilder], syntaxHighlighters: Seq[SyntaxHighlighter], parserHooks: ParserHooks)
Bundles extensions for the text markup parsers defined for the host language to support additional syntax not recognized by the base parsers.
When extension parsers fail for a given input the built-in parsers will still be tried for the same block or span respectively.
Value parameters
- blockParsers
-
parsers for block elements in text markup, complementing the parsers of the host language
- parserHooks
-
hooks for markup parsers to control aspects beyond the individual span and block parsers
- spanParsers
-
parsers for span elements in text markup, complementing the parsers of the host language
- syntaxHighlighters
-
parsers for syntax highlighting of code blocks
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article