Fixed layout and md rendering issues