add a new option to trim preceeding and trailin greturns for code