Thank you so much, that was the error. I should have noticed it myself.
For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
Best posts made by Aviral_
RE: AttributeError: 'str' object has no attribute 'toordinal'