image content provider

blackstork/builtin, v0.4.2

Description

Renders an image

The image content provider is built into the BlackStork engine. It is available out-of-the-box and requires no installation or dependency declaration.

Configuration

This content provider does not accept any configuration arguments.

Usage

This content provider accepts the following arguments within a content image block:

content image {
  # Required string.
  # Must be non-empty
  #
  # For example:
  src = "https://example.com/img.png"

  # Optional string.
  #
  # For example:
  # alt = "Text description of the image"
  #
  # Default value:
  alt = ""
}