Revert "added table of contents support for redcarpet"

This reverts commit 689847184627667d898b57d6df1f66be4bb5c6f9.
Revert "Revert "added table of contents support for redcarpet""

This reverts commit 202df390b7dd60624ef3307f5f87f47ac148991e.