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.
Snippet:
Without python docstring highlighter:
With python docstring highlighter (note that
returnandtest()are also parsed as part of the string):I understand that it would be a non-PEP 257-compliant doc-string, but still.