Class

laika.rst.std

StandardBlockDirectives

Related Doc: package std

Permalink

class 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:

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

Instance Constructors

  1. new StandardBlockDirectives()

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def admonition(style: String, title: String): DirectivePart[Block]

    Permalink

    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.

  5. final def asInstanceOf[T0]: T0

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

    Permalink

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

  7. def clone(): AnyRef

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

    Permalink

    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.

  9. lazy val compound: DirectivePart[Block]

    Permalink

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

  10. lazy val container: DirectivePart[Block]

    Permalink

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

  11. lazy val contents: DirectivePart[Block]

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def figure(p: RecursiveParsers): DirectivePart[Block]

    Permalink

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

  15. def finalize(): Unit

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

    Permalink

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

  17. lazy val genericAdmonition: DirectivePart[Block]

    Permalink

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. lazy val header: DirectivePart[Block]

    Permalink

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

  21. def imageBlock(p: RecursiveParsers): DirectivePart[Block]

    Permalink

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

  22. lazy val include: DirectivePart[Block]

    Permalink

    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.

  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. lazy val meta: DirectivePart[Block]

    Permalink

    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.

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

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. lazy val parsedLiteral: DirectivePart[Block]

    Permalink

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

  29. def quotedBlock(style: String): DirectivePart[Block]

    Permalink

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

  30. lazy val rawDirective: Directive[Block]

    Permalink

    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 Transform.from(ReStructuredText).to(HTML).withRawContent.

  31. lazy val rubric: DirectivePart[Block]

    Permalink

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

  32. lazy val sectnum: DirectivePart[Block]

    Permalink
  33. def sidebar(p: RecursiveParsers): DirectivePart[Block]

    Permalink

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

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

    Permalink
    Definition Classes
    AnyRef
  35. def table(p: RecursiveParsers): DirectivePart[Block]

    Permalink

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

  36. lazy val titleDirective: DirectivePart[ConfigValue]

    Permalink

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

  37. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  38. lazy val topic: DirectivePart[Block]

    Permalink

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

  39. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped