We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
content.list
content.list plugin is a part of the fabric binary.
fabric
item_template
The item_template template is applied to every object in query_result list.
query_result
For example,
content list "foo" { item_template = "* {{ event_type }}: {{ name }}": }
for query_result value
[ { "event_type": "endpoint", "name": "Event Name 1" }, { "event_type": "firewall", "name": "Event Name 2" } ]
will produce:
* endpoint: Event Name 1 * firewall: Event Name 2
It is enough to use "1. " at the start of the line (and render every line with "1. ") to get a proper ordered list, according to GitHub Markdown docs.
"1. "
The text was updated successfully, but these errors were encountered:
v0.2
data.inline
dobarx
No branches or pull requests
Design
content.list
plugin is a part of thefabric
binary.Specification
item_template
-- a required string attribute. Defines a template string to be used for rendering a list item.Behavior
The
item_template
template is applied to every object inquery_result
list.For example,
for
query_result
valuewill produce:
It is enough to use
"1. "
at the start of the line (and render every line with"1. "
) to get a proper ordered list, according to GitHub Markdown docs.Deliverables
content.list
pluginThe text was updated successfully, but these errors were encountered: