Format some source code, prepare document viewer stylesheet