Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow toc_levels option to be of type Range #210

wants to merge 1 commit into from


Copy link

This is more or less cosmetics but I just stumbled across this - the docs are talking of 'range syntax' but passing an actual Range for the :toc_levels option didn't work.

@gettalong gettalong self-assigned this Jan 21, 2015
Copy link

Thanks, this is a good idea.

However, the values of the array would need to be converted to integers in case the range isn't an integer range (see the array case). Please update your pull request in this regard.

Copy link
Contributor Author


Copy link

Thank you - I have cherry-picked your commit!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants