MCPcopy Create free account
hub / github.com/crisxuan/bestJavaer / encode_markdown_link

Function encode_markdown_link

scripts/generate_english_articles.py:383–386  ·  view source on GitHub ↗
(path: str)

Source from the content-addressed store, hash-verified

381
382
383def encode_markdown_link(path: str) -> str:
384 from urllib.parse import quote
385
386 return "/".join(quote(part) for part in path.split("/"))
387
388
389if __name__ == "__main__":

Callers 2

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected