Tables are re-indented from scratch
All 9 scenarios hold
With a configured indent (style:size), input lines are stripped of their own leading whitespace and re-indented with the base indent (the indentation of the surrounding code) plus one level of the configured indent. Blank lines stay completely empty. The final element of Result lines shows what ends the block: a bare indent that aligns the closing text-block quotes, or nothing when the indent size is zero. The style may be spaces or tabs; with a tab style each level is that many tab characters, kept as tabs.
expected outcome
broken scenario
| Scenario | Table lines | Base indent | Configured indent | Result lines? |
|---|---|---|---|---|
| Indent size zero leaves table flush |
| “” | space:0 |
|
| Every line indented one level |
| “” | space:4 |
|
| Base indent added beneath the level |
| space:2 |
| |
| Varying input indentation normalised |
| “” | space:4 |
|
| Header-only table |
| “” | space:4 |
|
| Comment lines indented too |
| “” | space:2 |
|
| Blank lines never indented |
| “” | space:2 |
|
| Tab style indents with a tab |
| “” | tab:1 |
|
| Tab size sets tabs per level |
| “” | tab:2 |
|