laika.parse.rst.ext

StandardBlockDirectives

trait StandardBlockDirectives extends AnyRef

Defines all supported standard block directives of the reStructuredText reference parser.

The following directives are fully supported:

The following directives are supported with some limitations:

Finally, for some directives there is currently no support planned:

Self Type
StandardBlockDirectives with StandardSpanDirectives
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StandardBlockDirectives
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def admonition(style: String, title: String): DirectivePart[Block]

    The attention, caution, danger, error, hint, important, note, tip and warning directives, which are all identical apart from their title which can be specified with the style parameter.

    The attention, caution, danger, error, hint, important, note, tip and warning directives, which are all identical apart from their title which can be specified with the style parameter. See http://docutils.sourceforge.net/docs/ref/rst/directives.html#specific-admonitions for details.

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. lazy val blockDirectives: List[Directive[Block]]

    All standard block directives currently supported by Laika, except for the raw directive which needs to be enabled explicitly.

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. lazy val code: DirectivePart[Block]

    The code directive, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#code for details.

    The code directive, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#code for details. The current implementation does not support syntax highlighting.

  11. lazy val compound: DirectivePart[Block]

    The compound directive, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#compound-paragraph for details.

  12. lazy val container: DirectivePart[Block]

    The container directive, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#container for details.

  13. lazy val contents: DirectivePart[Contents]

  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def figure(p: BlockParsers): DirectivePart[Block]

    The figure directive, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#figure for details.

  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. lazy val footer: DirectivePart[DocumentFragment]

    The footer directive, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#document-header-footer for details.

  19. def genericAdmonition(p: InlineParsers): DirectivePart[Block]

    The admonition directive, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#generic-admonition for details.

  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  22. lazy val header: DirectivePart[DocumentFragment]

    The header directive, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#document-header-footer for details.

  23. lazy val imageBlock: DirectivePart[Block]

    The image directive for block elements, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#image for details.

  24. lazy val include: DirectivePart[Include]

    The include directive, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#including-an-external-document-fragment for details.

    The include directive, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#including-an-external-document-fragment for details.

    Note that the only argument supported in Laika is the default argument specifying the path of the file to include. The other options supported by reStructuredText original parser do not make sense in the execution context of Laika. They assume that the file is parsed everytime an include directive is used, whereas in Laika all files of the source tree get parsed in one go and then the include step simply references the previously parsed node tree. This is both simpler and more efficient when the same file gets included in multiple places.

  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. lazy val meta: DirectivePart[Block with Serializable]

    The meta directive, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#meta for details.

    The meta directive, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#meta for details.

    In Laika there is no special document tree element for metadata. Therefore the result will be accessible through the generic config property in the Document class.

  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. def parsedLiteral(p: InlineParsers): DirectivePart[Block]

    The parsed-literal directive, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#parsed-literal-block for details.

  31. def quotedBlock(p: BlockParsers, style: String): DirectivePart[Block]

    The epitaph, highlights and pull-quote directives, which are all identical apart from the style parameter, see epigraph, highlights and pull-quote for details.

  32. lazy val rawDirective: DirectivePart[Block]

    The raw directive, which is not enabled by default, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#raw-data-pass-through for details.

    The raw directive, which is not enabled by default, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#raw-data-pass-through for details. It can be enabled with ReStructuredText.withRawContent.

  33. def rubric(p: InlineParsers): DirectivePart[Block]

    The rubric directive, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#rubric for details.

  34. lazy val sectnum: DirectivePart[ConfigValue]

  35. def sidebar(p: InlineParsers): DirectivePart[Block]

    The sidebar directive, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#sidebar for details.

  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def table(p: BlockParsers with InlineParsers): DirectivePart[Block]

    The table directive, adding a title to standard reStructuredText tables, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#table for details.

  38. lazy val titleDirective: DirectivePart[ConfigValue]

    The title directive, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#metadata-document-title for details.

  39. def toString(): String

    Definition Classes
    AnyRef → Any
  40. def topic(p: InlineParsers): DirectivePart[Block]

    The topic directive, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#topic for details.

  41. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped