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

Method __init__

markdown/extensions/wikilinks.py:40–48  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

38 """ Add inline processor to Markdown. """
39
40 def __init__(self, **kwargs):
41 self.config = {
42 'base_url': ['/', 'String to append to beginning or URL.'],
43 'end_url': ['/', 'String to append to end of URL.'],
44 'html_class': ['wikilink', 'CSS hook. Leave blank for none.'],
45 'build_url': [build_url, 'Callable formats URL from label.'],
46 }
47 """ Default configuration options. """
48 super().__init__(**kwargs)
49
50 def extendMarkdown(self, md):
51 """ Register the processor.

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected