Use builtin inform syntax highlighting
[ibg.git] / chapters / 02.rst
index 4698aeea9cdf8d81e30d09cbe66e0bde2592d6ea..933abaec80f926ead1c82451c541d6b23a8ab3b0 100644 (file)
@@ -27,7 +27,7 @@ in which you initially write the game doesn't bear much resemblance to the
 text which the interpreter ultimately displays.  For example, the "William
 Tell" game, in the form that we wrote it, starts like this:
 
-.. code-block:: inform
+.. code-block:: inform6
 
     !============================================================================
     Constant Story "William Tell";
@@ -43,7 +43,8 @@ Tell" game, in the form that we wrote it, starts like this:
 
     Class   Room
       has   light;
-    ...
+
+    ! ...
 
 You will never need to look at it in the form produced by the compiler::