gist-it
gist-it copied to clipboard
Parsing issue for Python docstrings
If gist-it is used to render Python snippets, then often, Python DocStrings are not rendered correctly and large parts of the file are highlighted as comments (examples would be the Gist-its of https://github.com/saltstack/salt/blob/develop/salt/cli/spm.py or https://github.com/saltstack/salt/blob/develop/salt/modules/aptpkg.py). I did not check, whether the same problem also exists when the DocStrings are opened/closed with double quotes ("""...""") instead of the single-quotes ('''...''') in the linked files.
Also not working are cases, in which the comment contains regular strings, like in https://github.com/python/cpython/blob/master/Lib/zipfile.py#L255