Terminal
Here’s a terminal. Note the vertical spacing around the command and its output - this is the expected rendering:
$ echo hello
helloHere’s the same terminal inside a step. It renders as expected:
$ echo hello
helloHere’s the same terminal inside an info block.
It has two extra lines of vertical space versus the expected rendering:
$ echo hello
helloHere’s the same terminal inside an info block inside a step.
It also has two extra lines of vertical space versus the expected rendering:
$ echo hello
helloUpload
Here’s the same sequence for a file upload.
The expected rendering:
foo: 42Inside a step (renders as expected):
foo: 42Inside an info block (two extra lines of vertical space):
foo: 42Inside a warning block (two extra lines of vertical space):
foo: 42Inside a caution block (two extra lines of vertical space):
foo: 42Inside an info block inside a step (two extra lines of vertical space):
foo: 42