python-docstring-highlighter
python-docstring-highlighter copied to clipboard
Incorrect docstring parsing
Snippet:
def test():
"""Docstring for test
:return: Description
:rtype: Literal[25]"""
return 25
test()
Without python docstring highlighter:
With python docstring highlighter (note that return and test() are also parsed as part of the string):
I understand that it would be a non-PEP 257-compliant doc-string, but still.