- avoid 2.7 hard dependency (timedelta.total_seconds())
- make yaml code blocks render