object HTMLParsers
Parses verbatim HTML elements which may interleave with standard Markdown markup. Extends the Markdown block and inline parsers, overriding several of their parsers to add the HTML functionality.
- Alphabetic
- By Inheritance
- HTMLParsers
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val htmlAttribute: Parser[HTMLAttribute]
Parses a single attribute, consisting of the name and (optional) equals sign and value.
- val htmlAttributeName: Parser[String]
- val htmlAttributeValue: Parser[(List[TextContainer], Option[Char])]
Parses quoted and unquoted attribute values.
- lazy val htmlBlock: Parser[HTMLBlock]
Parses a full HTML block, with the root element being a block-level HTML element and without parsing any standard Markdown markup.
- lazy val htmlBlockElement: Parser[Block]
- val htmlBlockElements: Set[String]
Elements that the HTML specification does not define as "Phrasing Content".
Elements that the HTML specification does not define as "Phrasing Content". These elements can serve as the root of a Block instance in the Document model. For an HTML renderer this means that it can avoid to wrap these blocks inside p tags as it would do with a normal paragraph.
- lazy val htmlBlockFragment: BlockParserBuilder
- val htmlBlockStart: Parser[HTMLStartTag]
Parses the start tag of an HTML block, only matches when the tag name is an actual block-level HTML tag.
- val htmlCharRef: SpanParserBuilder
Parses a numeric or named character reference.
- val htmlCharReference: PrefixedParser[HTMLCharacterReference]
Parses a numeric or named character reference without the leading
'&'
. - val htmlComment: Parser[HTMLComment]
Parses an HTML comment without the leading
'<'
. - val htmlDecReference: Parser[String]
- lazy val htmlElement: Parser[HTMLElement]
Parses an HTML element without the leading
'<'
, but including all the nested HTML and Text elements. - def htmlElementWithNestedMarkdown(recParsers: RecursiveSpanParsers): Parser[HTMLElement]
Parses an HTML element without the leading
'<'
, but including all the nested HTML and Text elements, as well as any nested Markdown spans. - val htmlEmptyElement: Parser[HTMLEmptyElement]
Parses an empty HTML element without the leading
'<'
.Parses an empty HTML element without the leading
'<'
. Only recognizes empty tags explicitly closed. - def htmlEndTag(tagName: String): DelimitedText
Parses an HTML end tag if it matches the specified tag name.
- val htmlEndTag: Parser[HTMLEndTag]
Parses an HTML end tag without the leading
'<'
. - val htmlHexReference: Parser[String]
- val htmlNamedReference: Parser[String]
- val htmlNumericReference: Parser[String]
Parses a numeric character reference (decimal or hexadecimal) without the leading
'&'
. - def htmlQuotedAttributeValue(c: String): Parser[(List[TextContainer], Option[Char])]
Parses an attribute value enclosed by the specified character.
- val htmlScriptElement: Parser[HTMLScriptElement]
Parses an HTML comment without the leading
'<'
. - val htmlSpan: SpanParserBuilder
Parses any of the HTML span elements supported by this trait, plus standard markdown inside HTML elements.
- lazy val htmlSpanInsideBlock: PrefixedParser[HTMLSpan]
Parses any of the HTML span elements supported by this trait, but no standard markdown inside HTML elements.
- val htmlStartTag: Parser[HTMLStartTag]
Parses an HTML start tag without the leading
'<'
.Parses an HTML start tag without the leading
'<'
. Only recognizes empty tags explicitly closed. - val htmlTagContent: Parser[~[String, List[HTMLAttribute]]]
Parses an HTML tag without the enclosing
'<'
and'>'
characters. - val htmlTagName: Parser[String]
- val htmlUnquotedAttributeValue: Parser[(List[TextContainer], Option[Char])]
- val htmlWS: Parser[String]
Parses and consumes optional whitespace, always succeeds.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()