blockParsers

laika.format.Markdown.blockParsers

Attributes

Source
Markdown.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete fields

List of parsers to register with the runtime for a specific markup format.

List of parsers to register with the runtime for a specific markup format.

The order of parsers in this sequence is significant and determines the precedence in which parsers are tried on blocks or spans.

Attributes

Source
Markdown.scala

Parses an ATX header, a line that starts with 1 to 6 '#' characters, with the number of hash characters corresponding to the level of the header.

Parses an ATX header, a line that starts with 1 to 6 '#' characters, with the number of hash characters corresponding to the level of the header. Markdown also allows to decorate the line with trailing '#' characters which this parser will remove.

Attributes

Source
Markdown.scala

Parses a bullet list, called "unordered list" in the Markdown syntax description.

Parses a bullet list, called "unordered list" in the Markdown syntax description.

Attributes

Source
Markdown.scala

Parses an enumerated list, called "ordered list" in the Markdown syntax description.

Parses an enumerated list, called "ordered list" in the Markdown syntax description.

Attributes

Source
Markdown.scala

Parses a link definition in the form [id]: <url> "title".

Parses a link definition in the form [id]: <url> "title". The title is optional as well as the quotes around it and the angle brackets around the url.

Attributes

Source
Markdown.scala

Parses a literal block, text indented by a tab or 4 spaces.

Parses a literal block, text indented by a tab or 4 spaces.

Attributes

Source
Markdown.scala

Parses either a setext header, or a plain paragraph if the second line of the block is not a setext header decoration.

Parses either a setext header, or a plain paragraph if the second line of the block is not a setext header decoration. Only used for nested blocks where lists starting in the middle of a paragraph are allowed.

Attributes

Source
Markdown.scala

Parses a quoted block, a paragraph starting with a '>' character, with subsequent lines optionally starting with a '>', too.

Parses a quoted block, a paragraph starting with a '>' character, with subsequent lines optionally starting with a '>', too.

Attributes

Source
Markdown.scala

Parses either a setext header, or a plain paragraph if the second line of the block is not a setext header decoration.

Parses either a setext header, or a plain paragraph if the second line of the block is not a setext header decoration. Only used for root level blocks where lists starting in the middle of a paragraph are not allowed.

Attributes

Source
Markdown.scala

Parses a horizontal rule, a line only decorated with three or more '*', '-' or '_' characters with optional spaces between them

Parses a horizontal rule, a line only decorated with three or more '*', '-' or '_' characters with optional spaces between them

Attributes

Source
Markdown.scala