boostbook/test/more/tests/syntax-highlight/language-attribute.xml
Daniel James ebfbc08fce Merge Boostbook.
- Support some colour roles (thanks to Paul Bristow).
- Support assignment return types in doxygen2boostbook. Fixes #9241.
- Fix virtual methods in doxygen2boostbook.
- Add newlines to doxygen2boostbook to make the output a tad more readable.
- Improved last-revision handling.
- Support noexcept and constexpr in doxygen2boostbook.
- Improved boostbook for virtual and explicit methods from doxygen2boostbook.
- Support `language="c++"` attribute for `code` and `programlisting` elements.
- Use that to do syntax highlighting for doxygen2boostbook.


[SVN r86725]
2013-11-16 20:10:31 +00:00

26 lines
917 B
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2013 Daniel James.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
-->
<!DOCTYPE boostbook PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN"
"http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
<boostbook id="test" xmlns:xi="http://www.w3.org/2001/XInclude"
last-revision="$Date: 2010-10-30 15:29:27 +0100 (Sat, 30 Oct 2010) $"
lang="en">
<title>Test language attribute</title>
<programlisting>plain text</programlisting>
<programlisting language="c++">void main() {}</programlisting>
<programlisting language="jam">actions something ;</programlisting>
<para>
<code>plain text</code>
<code language="c++">void main() {}</code>
<code language="jam">actions something ;</code>
</para>
</boostbook>