Fix numbering in preview, improve html
Merge remote-tracking branch 'origin/master'