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:
|
# 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
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
Disable the check seems to work fine.
Any reason why this condition is set?
Thanks