|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r68558 - trunk/tools/quickbook/doc
From: dnljms_at_[hidden]
Date: 2011-01-30 05:51:51
Author: danieljames
Date: 2011-01-30 05:51:47 EST (Sun, 30 Jan 2011)
New Revision: 68558
URL: http://svn.boost.org/trac/boost/changeset/68558
Log:
Use 'teletype' for syntax highlighting in quickbook docs.
Text files modified:
trunk/tools/quickbook/doc/quickbook.qbk | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
Modified: trunk/tools/quickbook/doc/quickbook.qbk
==============================================================================
--- trunk/tools/quickbook/doc/quickbook.qbk (original)
+++ trunk/tools/quickbook/doc/quickbook.qbk 2011-01-30 05:51:47 EST (Sun, 30 Jan 2011)
@@ -9,6 +9,7 @@
(See accompanying file LICENSE_1_0.txt or copy at
[@http://www.boost.org/LICENSE_1_0.txt])
]
+ [source-mode teletype]
]
[/ QuickBook Document version 1.5 ]
@@ -521,6 +522,8 @@
C++ comment `// looks like this` whereas a Python comment [python]
`#looks like this`.
+[teletype]
+
[table Supported Source Modes
[[Mode] [Source Mode Markup]]
[[C++] [[^\[c++\]]]]
@@ -1075,7 +1078,7 @@
return cgi.escape(text)
-[c++]
+[teletype]
Macros that are already defined are expanded in source code. Example:
@@ -2119,8 +2122,6 @@
[section:windows Windows 2000, XP, 2003, Vista]
-[python]
-
[:['Section contributed by Julio M. Merino Vidal]]
The following instructions apply to any Windows system based on Windows
@@ -2341,7 +2342,7 @@
[section:ref Quick Reference]
-[c++]
+[teletype]
[template ordered_list_sample[]
[pre'''
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk