Bookdown creating weird HTML files

I am having a really hard time with bookdown, the html output is messing up my code output, chunks, and math:
The source code is here, but i do not understand what is going on with it: source code

For example:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.