Fix markdown parsing in post layout