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