-
Notifications
You must be signed in to change notification settings - Fork 445
Closed
Labels
FeatureFeature requestFeature request
Description
I am using this library and need the CLI in my generated HTML files.
It seems the TOC is only generated if it is used under the CLI mode:
python-markdown2/lib/markdown2.py
Lines 404 to 406 in 65df9a2
| # Prepend toc html to output | |
| if self.cli: | |
| text = '{}\n{}'.format(self._toc_html, text) |
Disable the check seems to work fine.
Any reason why this condition is set?
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
FeatureFeature requestFeature request