replace docter with marked

Docter has problems with indented code blocks (no HTML is output). It also adds an unnecessary ruby dependency. This commit replaces docter with the pure-javascript marked module. It also slightly improves the rendering of the output.