Gdoc support

Slight refactor for smarter parsing of indent levels for nested lists.

Fixes #12.