MathBlockParser

io.github.edadma.markdown.MathBlockParser
object MathBlockParser extends BlockParser

Attributes

Graph
Supertypes
trait BlockParser
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def canStart(lines: LazyList[List[C]], config: MarkdownConfig): Boolean

Can this parser start on the given lines?

Can this parser start on the given lines?

Value parameters

lines

a list of lines, each as a LazyList[C]

Attributes

Returns

true if this parser should handle the first line

def parse(lines: LazyList[List[C]], linkRefs: Map[String, LinkReference], parentIndent: Int, config: MarkdownConfig): (Block, Int)

Parse a block starting at the head of lines.

Parse a block starting at the head of lines.

Value parameters

lines

the remaining lines in the document

linkRefs

mutable map of link reference definitions

Attributes

Returns

a tuple of the parsed Block and the number of lines consumed

Concrete fields

val name: String