mirror of https://github.com/scrapy/scrapy.git
Use code-block directive for shell example
This commit is contained in:
parent
910819ad60
commit
2f3bce7c28
|
|
@ -148,7 +148,9 @@ override its ``update_vars`` method. See :ref:`topics-commands` for more
|
|||
information about creating custom Scrapy commands.
|
||||
|
||||
For example, if your project defines a custom ``shell`` command, you can update
|
||||
the shell namespace like this::
|
||||
the shell namespace like this:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
from scrapy.commands.shell import Command as ShellCommand
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue