Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/executablebooks/markdown-it-py
/ mapping
Function
mapping
markdown_it/_punycode.py:53–56 ·
view source on GitHub ↗
(obj: str)
Source
from the content-addressed store, hash-verified
51
52
def
to_unicode(obj: str) -> str:
53
def
mapping(obj: str) -> str:
54
if
obj.startswith(
"xn--"
):
55
return
decode(obj[4:].lower())
56
return
obj
57
58
return
map_domain(obj, mapping)
59
Callers
nothing calls this directly
Calls
2
decode
Function · 0.85
encode
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…