Package

laika.markdown

ast

Permalink

package ast

Visibility
  1. Public
  2. All

Type Members

  1. case class HTMLAttribute(name: String, value: List[Span with TextContainer], quotedWith: Option[Char]) extends Product with Serializable

    Permalink

    Represents a single HTML attribute.

    Represents a single HTML attribute. The value is provided as a list of TextContainers as it may contain HTML character references alongside regular Text elements.

  2. case class HTMLBlock(root: HTMLElement, options: Options = NoOpt) extends Element with Block with Product with Serializable

    Permalink

    A top level HTML block as defined by the Markdown syntaxt description.

    A top level HTML block as defined by the Markdown syntaxt description. It is surrounded by blank lines and has a block-level element (one that is not classified as "phrasing content" in the HTML specification) as its root element. It may contain other nested HTML elements and tags, but no spans produced by standard Markdown markup.

  3. case class HTMLCharacterReference(content: String, options: Options = NoOpt) extends HTMLSpan with TextContainer with Product with Serializable

    Permalink

    Represents a numerical or named character reference.

  4. case class HTMLComment(content: String, options: Options = NoOpt) extends HTMLSpan with Block with TextContainer with Product with Serializable

    Permalink

    Represents a standard HTML comment.

  5. case class HTMLElement(startTag: HTMLStartTag, content: List[Span], options: Options = NoOpt) extends HTMLSpan with SpanContainer[HTMLElement] with Product with Serializable

    Permalink

    Represents a full HTML element with matching start and end tags.

    Represents a full HTML element with matching start and end tags. The content of this span container may contain further nested HTML elements and tags as well as simple text elements.

  6. case class HTMLEmptyElement(name: String, attributes: List[HTMLAttribute], options: Options = NoOpt) extends HTMLSpan with Block with Product with Serializable

    Permalink

    Represents an empty element (like <br/> or <hr/>) in case it contains the explicit slash to mark it as closed.

    Represents an empty element (like <br/> or <hr/>) in case it contains the explicit slash to mark it as closed. Otherwise it will be classified as a start tag.

  7. case class HTMLEndTag(name: String, options: Options = NoOpt) extends HTMLSpan with Product with Serializable

    Permalink

    Represents an orphaned end tag without matching start tag.

  8. abstract class HTMLSpan extends Element with Span

    Permalink

    Base class for all verbatim HTML span elements.

  9. case class HTMLStartTag(name: String, attributes: List[HTMLAttribute], options: Options = NoOpt) extends HTMLSpan with Block with Product with Serializable

    Permalink

    Represent a start tag.

    Represent a start tag. When this element is part of a final document tree, it represents an orphaned start tag without matching end tag. In HTML this may be legal (some tags like the p tag are defined as "auto-closing" under certain circumstances). This library however does not implement the full logic of a proper HTML parser to distinguish between legal and faulty occurrences of unmatched start tags.

Ungrouped