Add new utility function parseBoolValue()
and use it in all extension that need parsing bool config values.
Add new "permalink" option to toc extension
and use it in our docs
Add tests for the previous two commits