##// END OF EJS Templates
Set lang or RTFD seem to not render
Matthias Bussonnier -
Show More
@@ -142,7 +142,7 b' setuptools, distutils, or any other distribution tools like `flit'
142 <http://flit.readthedocs.io>` for pure Python packages.
142 <http://flit.readthedocs.io>` for pure Python packages.
143
143
144
144
145 .. sourcecode::
145 .. sourcecode:: bash
146
146
147 .
147 .
148 ├── example_magic
148 ├── example_magic
@@ -150,7 +150,7 b' setuptools, distutils, or any other distribution tools like `flit'
150 │   └── abracadabra.py
150    └── abracadabra.py
151 └── setup.py
151 └── setup.py
152
152
153 .. sourcecode::
153 .. sourcecode:: bash
154
154
155 $ cat example_magic/__init__.py
155 $ cat example_magic/__init__.py
156 """An example magic"""
156 """An example magic"""
@@ -161,7 +161,7 b' setuptools, distutils, or any other distribution tools like `flit'
161 def load_ipython_extension(ipython):
161 def load_ipython_extension(ipython):
162 ipython.register_magics(Abracadabra)
162 ipython.register_magics(Abracadabra)
163
163
164 .. sourcecode::
164 .. sourcecode:: bash
165
165
166 $ cat example_magic/abracadabra.py
166 $ cat example_magic/abracadabra.py
167 from IPython.core.magic import (Magics, magics_class, line_magic, cell_magic)
167 from IPython.core.magic import (Magics, magics_class, line_magic, cell_magic)
General Comments 0
You need to be logged in to leave comments. Login now