I can't reproduce - the example in the first post is now working ok.
- Open a new Rmd file
- Copy paste the code in the first example
- Click the knit button
Please check your Rmd file for problematic syntax. The formatting error you encounter is different than the original one.
If you still have an issue, please open a new post or GH issue with a new reproducible example.
Thank you!