There appears to be something funky going on with your line breaks.  I think with mark down text, line breaks are supplied by the formatting tools (mostly the browser).   It might be that your editor wants to have its way with the line breaks.  Ideally the editor should just leave well enough alone with mark down text.