-
-
Notifications
You must be signed in to change notification settings - Fork 114
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description of the bug
Here is the markdown:
```python
def __exit__(self, exc_type, exc_value, traceback) -> None:
"""
Automatic breakpoint removal.
"""
self.remove()
```
```python
__exit__(exc_type, exc_value, traceback) -> None
```
::: pwndbg.dbg.StopPoint.__exit__
It renders like this:
The exc_type
parameter shouldn't be highlighted. It is wrongly marked as nf
by pygments which is for functions.
To Reproduce
git clone https://github.com/k4lizen/pwndbg
cd pwndbg
git checkout weird-high
uv run --group docs mkdocs serve --strict
Look at http://127.0.0.1:8000/pwndbg/setup/
Expected behavior
The exc_type
parameter shouldn't be highlighted. It is wrongly marked as nf
by pygments which is for functions.
Environment information
- __System__: Linux-6.13.7-artix1-1-x86_64-with-glibc2.41
- __Python__: cpython 3.13.2 (/path/pwndbg/.venv/bin/python3)
- __Environment variables__:
- __Installed packages__:
- `mkdocstrings` v0.29.1
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working