-
Notifications
You must be signed in to change notification settings - Fork 155
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
Generating table of content #12
Comments
It's not supported directly in django-wkhtmltopdf, but you could add this. You can set an HTML file to use as the TOC with wkhtmltopdf, as described in this stackoverflow question. |
Suggested solution should resolve the ToC issue. |
Can someone please provide a code example? by default django-wkhtmltopdf calls the command:
But i need to call:
and "toc" can't be passed as an argument... So how am I supposed to call it? |
This doesn't look possible as-is: the ToC file needs to be rendered to HTML and then passed as a page. I have need for this and was thinking of creating a new option like |
How to generate ToC using django-wkhtmltopdf? I checked the code but didn't see a way to do that. I might miss something.
The text was updated successfully, but these errors were encountered: