BundleOrigin

Companion:
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

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.

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.

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.

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.

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.

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror