local_file publisher

blackstork/builtin, v0.4.2

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

Supported Formats

This publisher supports the delivery of documents processed by the following formatters:

  • md
  • pdf
  • html

To specify the format, use the format argument inside the publish block to reference a specific format block or a formatter short name.

Configuration

This publisher does not accept any configuration arguments.

Usage

This publisher accepts the following arguments within a publish local_file block:

# Note: The `publish` block also accepts the generic `format` argument to link to a formatter.

publish local_file {
  # Path to the file
  #
  # Required string.
  #
  # For example:
  path = "dist/output.md"
}