diff doc/display.txt @ 42:cf94e70a77f3

Syntax highlighting for the docs.
author cmlenz
date Wed, 06 Jun 2007 11:02:48 +0000
parents 8d4cd0856f69
children b12c6a776c44
line wrap: on
line diff
--- a/doc/display.txt
+++ b/doc/display.txt
@@ -29,7 +29,9 @@
 ====================
 
 You normally access such locale data through the `Locale`_ class provided
-by Babel::
+by Babel:
+
+.. code-block:: pycon
 
     >>> from babel import Locale
     >>> locale = Locale('en', 'US')
@@ -60,7 +62,9 @@
 
 These display names are of course used for date formatting, but can also be
 used, for example, to show a list of months to the user in their preferred
-language::
+language:
+
+.. code-block:: pycon
 
     >>> locale = Locale('es')
     >>> month_names = locale.months['format']['wide'].items()
Copyright (C) 2012-2017 Edgewall Software