title content provider

blackstork/builtin, v0.4.2

Description

Produces a title.

The title size after calculations must be in an interval [0; 5] inclusive, where 0 corresponds to the largest size (<h1>) and 5 corresponds to (<h6>)

The content provider is built-in, which means it’s a part of fabric binary. It’s available out-of-the-box, no installation required.

Configuration

The content provider doesn’t support any configuration arguments.

Usage

The content provider supports the following execution arguments:

content title {
  # Title content
  #
  # Required string.
  # For example:
  value = "Vulnerability Report"

  # Sets the absolute size of the title.
  # If `null` – absoulute title size is determined from the document structure
  #
  # Optional integer.
  # Default value:
  absolute_size = null

  # Adjusts the absolute size of the title.
  # The value (which may be negative) is added to the `absolute_size` to produce the final title size
  #
  # Optional integer.
  # Default value:
  relative_size = 0
}