format trailing spaces, markdown settings