fix bad links, add styling for code and tables