@sickboy_76au Nice. I just started using Backtrader, so your approach might be out of reach to me at the moment, but this might be a nice idea for me to experiment later on. Cheers.
For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
F