Adding the layout mode option to show the paragrah numbers