MCPcopy Create free account
hub / github.com/ipython/ipython / process_link

Method process_link

docs/sphinxext/magics.py:20–24  ·  view source on GitHub ↗
(self, env, refnode, has_explicit_title, title, target)

Source from the content-addressed store, hash-verified

18 prefix = "%"
19
20 def process_link(self, env, refnode, has_explicit_title, title, target):
21 if not has_explicit_title:
22 title = self.prefix + title.lstrip("%")
23 target = target.lstrip("%")
24 return title, target
25
26def parse_cell_magic(env, sig, signode):
27 m = name_re.match(sig)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected