laika.directive
Members list
Packages
Type members
Classlikes
The id for a directive part.
The id for a directive part.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- class
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
AttributeKey.type
The API for declaring directives that can be used as block elements in markup documents.
The API for declaring directives that can be used as block elements in markup documents.
Attributes
- Supertypes
- Self type
-
Blocks.type
Provides the basic building blocks for Laika's Directive API. This trait is not used directly, but instead its three sub-traits Blocks
, Spans
and Templates
, which represent the concrete implementations for the three directive types.
Provides the basic building blocks for Laika's Directive API. This trait is not used directly, but instead its three sub-traits Blocks
, Spans
and Templates
, which represent the concrete implementations for the three directive types.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Registry for custom directives. Application code can define any number of instances mixing in this trait and then pass them to Parse, Render or Transform operations:
Registry for custom directives. Application code can define any number of instances mixing in this trait and then pass them to Parse, Render or Transform operations:
object MyDirectives extends DirectiveRegistry {
val spanDirectives = Seq(...)
val blockDirectives = Seq(...)
val templateDirectives = Seq(...)
val linkDirectives = Seq(...)
}
object OtherDirectives extends DirectiveRegistry {
[...]
}
val transformer = Transformer
.from(Markdown)
.to(HTML)
.using(MyDirectives, OtherDirectives)
.build
Attributes
- Supertypes
- Known subtypes
-
object StandardDirectives.type
- Self type
Internal API that processes all directives defined by one or more DirectiveRegistries. This extension is installed by default, unless the transformation is run in strict mode.
Internal API that processes all directives defined by one or more DirectiveRegistries. This extension is installed by default, unless the transformation is run in strict mode.
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
object DirectiveSupport.type
- Self type
Empty default instance without any directives installed.
Empty default instance without any directives installed.
Attributes
- Companion
- class
- Supertypes
- Self type
-
DirectiveSupport.type
The API for declaring directives that can be used in links.
The API for declaring directives that can be used in links.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Links.type
The API for declaring directives that can be used as inline elements in markup documents.
The API for declaring directives that can be used as inline elements in markup documents.
Attributes
- Supertypes
- Self type
-
Spans.type
The API for declaring directives that can be used in templates.
The API for declaring directives that can be used in templates.
Attributes
- Supertypes
- Self type
-
Templates.type