Terminal line
Description
One line inside a terminal: a $ command or a > response.
Usage
Minimal example
{% terminal_line "foo" %}
All parameters
{% terminal_line "foo" kind="command" %}
Qualified tag usage
{% ui__terminal_line "foo" %}
Parameters
| Name | Type | Requirement | Default | Choices | Description |
|---|---|---|---|---|---|
text
|
str
|
Required | — | — | The command or its output. |
kind
|
str
|
Optional |
command
|
command
response
|
Command or response. |
Background colour
Viewport width
Zoom level
{% terminal_line "foo" %}
<pre class="terminal-line terminal-line--command "><span class="terminal-line__prompt">$</span> <code class="language-bash">foo</code></pre>