finally figured out newlines in md