api doctoc fix [ and ]. closes #124