Fix markdown list rendering issues