doc: added syntax highlighting and table of contents.