BundleOrigin

laika.bundle.BundleOrigin$
See theBundleOrigin companion trait
object BundleOrigin

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case object Library extends BundleOrigin

Indicates that the extension bundle is a built-in extension provided by Laika.

Indicates that the extension bundle is a built-in extension provided by Laika.

Internally Laika uses its own extension hooks to provide non-standard functionality like its directive syntax. Keeping it in extensions means these features can be disabled when run in strict mode.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait BundleOrigin
class Object
trait Matchable
class Any
Show all
Self type
Library.type
case object Mixed extends BundleOrigin

Indicates that a bundle has been merged from multiple individual bundles with different origins. This would normally not occur before the final step in a parse or transform operation when the final bundle is merged internally from all the individual bundles.

Indicates that a bundle has been merged from multiple individual bundles with different origins. This would normally not occur before the final step in a parse or transform operation when the final bundle is merged internally from all the individual bundles.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait BundleOrigin
class Object
trait Matchable
class Any
Show all
Self type
Mixed.type
case object Parser extends BundleOrigin

Indicates that the extension bundle is provided by a parser for markup format.

Indicates that the extension bundle is provided by a parser for markup format.

A parser may either provide a feature as a bundle to allow the user to disable it, e.g. support for raw content in the output format which might be security risk when entered by the user.

Another scenario is a parser that needs to supply custom renderers as its parsers produce AST nodes which are not known by the built-in renderers.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait BundleOrigin
class Object
trait Matchable
class Any
Show all
Self type
Parser.type
case object Theme extends BundleOrigin

Indicates that the extension bundle is provided by a theme.

Indicates that the extension bundle is provided by a theme.

A theme usually focuses on pre-populating the input tree with templates, styles and configuration, but may in addition also decide to offer lower-level extensions such as custom directives or extensions to markup syntax.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait BundleOrigin
class Object
trait Matchable
class Any
Show all
Self type
Theme.type
case object User extends BundleOrigin

Indicates that the extension bundle has been provided by the user.

Indicates that the extension bundle has been provided by the user.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait BundleOrigin
class Object
trait Matchable
class Any
Show all
Self type
User.type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror