Thanks Mara,
This is just because I gave up on integrating the markdown bits in - I kept getting error messages on the published version and even when running locally the text looked funny and some of the equations got corrupted.
(I opened a new topic to ask more broadly about what I'm trying to do)
Thanks!
-Matan