Problem Description
Having markdown headers with inline code creates md5 hash entries in the table of contents.
Steps to reproduce the behavior:
- Create a folder named foo add init.py file with the following contents
"""
# `very cool header`
irrelevant text
"""
- execute
pdoc foo -o out
- open
./out/index.html
- Observe a md5-... entry in the table of contents
System Information
pdoc: 16.0.0
Python: 3.13.11
Platform: Linux-6.12.65-x86_64-with-glibc2.40
I have also reproduced this in pdoc 15.0.4, pdoc 15.0.3 does not have the md5 entry.