Ticket #201 (closed enhancement: fixed)
Strip one leading blank from each line of a code block, if possible
|Reported by:||SimonHengel||Owned by:||Fūzetsu|
Most people (including me) tend put a leading blank on each non-empty line of a code block.
-- > foobar
(e.g. test-framework-th contains real world examples)
The generated HTML documentation retains these leading blanks. And if you copy&paste some example snippets from the documentation, you end up striping these leading blanks manually.
This has annoyed me several times. So I suggest to strip (in the parser) exactly one leading blank from each non-empty line of a code block iff each non-empty line of that code block starts with a blank.
In addition I'd adjust the default CSS to make up for the missing blank.