code content provider
blackstork/builtin, v0.4.2
Description #
Formats text as a code snippet
The code 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 code block:
content code {
# Required string.
#
# For example:
value = "Text to be formatted as a code block"
# Specifiy the code language for syntax highlighting
#
# Optional string.
#
# For example:
# language = "json"
#
# Default value:
language = "text"
}