Maybe I have found the answer in the document:
"When a compressed bar is forming, the length len(self) of the strategy will remain unchanged."
For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/