MCPcopy Create free account
hub / github.com/executablebooks/markdown-it-py / normalizeLink

Method normalizeLink

markdown_it/main.py:333–341  ·  view source on GitHub ↗

Normalize destination URLs in links :: [label]: destination 'title' ^^^^^^^^^^^

(self, url: str)

Source from the content-addressed store, hash-verified

331 return normalize_url.validateLink(url)
332
333 def normalizeLink(self, url: str) -> str:
334 """Normalize destination URLs in links
335
336 ::
337
338 [label]: destination 'title'
339 ^^^^^^^^^^^
340 """
341 return normalize_url.normalizeLink(url)
342
343 def normalizeLinkText(self, link: str) -> str:
344 """Normalize autolink content

Callers 7

TestOneInputFunction · 0.95
linkifyFunction · 0.80
autolinkFunction · 0.80
imageFunction · 0.80
linkFunction · 0.80
linkifyFunction · 0.80
referenceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected