Protects ``tocify_markdown()`` from exceptions. Refs #16.