Skip to content

Code snippet interferes with latex expressions #340

Closed
@franciszekjuras

Description

@franciszekjuras

To reproduce bug, create docstring:

"""
$n \\leq 0$. 
`l` is interfering.
"""

Result:
image
It appears that processing l somehow eats escape characters in \\leq as one possible workaround is to write \\\\leq
If l is changed to something different, equation is rendered properly:

'''
$n \\leq 0$. 
`k` is not interfering.
'''

image
Similarly:

"""
$n \\geq 0$. 
`g` is interfering.
"""

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions