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

List item indentation #12

Merged
merged 3 commits into from Apr 7, 2017
Merged

Conversation

potomak
Copy link
Contributor

@potomak potomak commented Apr 6, 2017

Update list item formatting code to make indentation dependent on the minimum header number.

See #8.

Don't capitalize variable name.
`groups["num"]` goes from 1 to 6, so each TOC item started at least
two spaces from the beginning of a new line. Fix it by prepending
each TOC item with `n-1` *two spaces*.
@ekalinin ekalinin merged commit f8ff059 into ekalinin:master Apr 7, 2017
@ekalinin
Copy link
Owner

ekalinin commented Apr 7, 2017

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants