MCPcopy Create free account
hub / github.com/Python-Markdown/markdown / my_url_builder

Method my_url_builder

tests/test_extensions.py:246–247  ·  view source on GitHub ↗
(label, base, end)

Source from the content-addressed store, hash-verified

244 from markdown.extensions.wikilinks import WikiLinkExtension
245
246 def my_url_builder(label, base, end):
247 return '/bar/'
248
249 md = markdown.Markdown(extensions=[WikiLinkExtension(build_url=my_url_builder)])
250 self.assertEqual(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected