HTMLBlockParser

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

Attributes

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

Members list

Value members

Concrete methods

override def canStart(lines: List[LazyList[C]]): 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

Definition Classes
override def parse(lines: List[LazyList[C]], linkRefs: Map[String, LinkReference]): (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

Definition Classes

Concrete fields

val name: String