update docs. allow for expansion of tabs and newlines