summaryrefslogtreecommitdiff
path: root/docs/index.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/index.rst')
-rw-r--r--docs/index.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/index.rst b/docs/index.rst
index eba90e0b..f7951472 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -17,6 +17,8 @@ programs. Extends the Python Standard Library's cmd_ package.
The basic use of ``cmd2`` is identical to that of cmd_.
+.. highlight:: python
+
1. Create a subclass of ``cmd2.Cmd``. Define attributes and
``do_*`` methods to control its behavior. Throughout this documentation,
we will assume that you are naming your subclass ``App``::