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

Class CellMagicRole

docs/sphinxext/magics.py:34–36  ·  view source on GitHub ↗

Cross reference role displayed with a %% prefix

Source from the content-addressed store, hash-verified

32 return m.group(0)
33
34class CellMagicRole(LineMagicRole):
35 """Cross reference role displayed with a %% prefix"""
36 prefix = "%%"
37
38def setup(app):
39 app.add_object_type('magic', 'magic', 'pair: %s; magic command', parse_magic)

Callers 1

setupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected