class StandardSpanDirectives extends AnyRef
Defines all supported standard span directives of the reStructuredText reference parser. A span directive can be used in substitution definitions.
The replace
directive is fully supported. The other directives have the following
adjustments or limitations compared to their counterparts in the reference parser:
unicode
: does not support the various trim options, as that would require modifying adjacent elements (and no other directive has this requirement, therefore API/impl changes did not seem justified)date
: Uses the patterns ofjava.text.SimpleDateFormat
instead of Python'stime.strftime
function.image
: Does not support the various layout options (width
,height
,scale
,align
), as no other tree nodes in Laika carry concrete layout information. It is recommended to use styles instead.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- StandardSpanDirectives
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new StandardSpanDirectives()
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( ... ) @native()
-
lazy val
date: DirectivePartBuilder[Span]
The date directive, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#date for details.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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()
-
lazy val
replace: DirectivePartBuilder[Span]
The replace directive, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#replacement-text for details.
-
lazy val
spanDirectives: List[Directive[Span]]
All standard reStructuredText span directives, to be used in substitution references.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
lazy val
unicode: DirectivePartBuilder[Span]
The unicode directive, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#unicode-character-codes for details.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()