Packages

o

laika.markdown

HTMLParsers

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.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HTMLParsers
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. val htmlAttribute: Parser[HTMLAttribute]

    Parses a single attribute, consisting of the name and (optional) equals sign and value.

  12. val htmlAttributeName: Parser[String]
  13. val htmlAttributeValue: Parser[(List[TextContainer], Option[Char])]

    Parses quoted and unquoted attribute values.

  14. 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.

  15. lazy val htmlBlockElement: Parser[Block]
  16. 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.

  17. lazy val htmlBlockFragment: BlockParserBuilder
  18. 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.

  19. val htmlCharRef: SpanParserBuilder

    Parses a numeric or named character reference.

  20. val htmlCharReference: PrefixedParser[HTMLCharacterReference]

    Parses a numeric or named character reference without the leading '&'.

  21. val htmlComment: Parser[HTMLComment]

    Parses an HTML comment without the leading '<'.

  22. val htmlDecReference: Parser[String]
  23. lazy val htmlElement: Parser[HTMLElement]

    Parses an HTML element without the leading '<', but including all the nested HTML and Text elements.

  24. 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.

  25. 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.

  26. def htmlEndTag(tagName: String): DelimitedText

    Parses an HTML end tag if it matches the specified tag name.

  27. val htmlEndTag: Parser[HTMLEndTag]

    Parses an HTML end tag without the leading '<'.

  28. val htmlHexReference: Parser[String]
  29. val htmlNamedReference: Parser[String]
  30. val htmlNumericReference: Parser[String]

    Parses a numeric character reference (decimal or hexadecimal) without the leading '&'.

  31. def htmlQuotedAttributeValue(c: String): Parser[(List[TextContainer], Option[Char])]

    Parses an attribute value enclosed by the specified character.

  32. val htmlScriptElement: Parser[HTMLScriptElement]

    Parses an HTML comment without the leading '<'.

  33. val htmlSpan: SpanParserBuilder

    Parses any of the HTML span elements supported by this trait, plus standard markdown inside HTML elements.

  34. lazy val htmlSpanInsideBlock: PrefixedParser[HTMLSpan]

    Parses any of the HTML span elements supported by this trait, but no standard markdown inside HTML elements.

  35. 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.

  36. val htmlTagContent: Parser[~[String, List[HTMLAttribute]]]

    Parses an HTML tag without the enclosing '<' and '>' characters.

  37. val htmlTagName: Parser[String]
  38. val htmlUnquotedAttributeValue: Parser[(List[TextContainer], Option[Char])]
  39. val htmlWS: Parser[String]

    Parses and consumes optional whitespace, always succeeds.

  40. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  41. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  42. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  43. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  44. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  45. def toString(): String
    Definition Classes
    AnyRef → Any
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped