Use coverage report highlighting also for code snippets in documentation.
diff --git a/org.jacoco.doc/docroot/doc/ant.html b/org.jacoco.doc/docroot/doc/ant.html
index bb785b8..2213a70 100644
--- a/org.jacoco.doc/docroot/doc/ant.html
+++ b/org.jacoco.doc/docroot/doc/ant.html
@@ -4,9 +4,11 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<link rel="stylesheet" href=".resources/doc.css" charset="ISO-8859-1" type="text/css" />
+ <link rel="stylesheet" href="../coverage/.resources/prettify.css" charset="ISO-8859-1" type="text/css" />
+ <script type="text/javascript" src="../coverage/.resources/prettify.js"></script>
<title>JaCoCo - Ant Tasks</title>
</head>
-<body>
+<body onload="prettyPrint()">
<div class="breadcrumb">
<a href="../index.html" class="el_session">JaCoCo</a> >
@@ -34,7 +36,7 @@
<code>taskdef</code> declaration:
</p>
-<pre class="source">
+<pre class="source lang-xml">
<span class="nr"> 1</span><project name="Example" xmlns:jacoco="antlib:org.jacoco.ant">
<span class="nr"> 2</span>
<span class="nr"> 3</span> <taskdef uri="antlib:org.jacoco.ant" resource="org/jacoco/ant/antlib.xml">
@@ -71,7 +73,7 @@
following examples:
</p>
-<pre class="source">
+<pre class="source lang-xml">
<span class="nr"> 1</span><jacoco:coverage>
<span class="nr"> 2</span> <java classname="org.jacoco.examples.HelloJaCoCo" fork="true">
<span class="nr"> 3</span> <classpath>
@@ -183,7 +185,7 @@
<code>agentvmparam</code> that can be directly used as a Java VM parameter:
</p>
-<pre class="source">
+<pre class="source lang-xml">
<span class="nr"> 1</span><jacoco:agent property="agentvmparam"/>
</pre>
@@ -226,7 +228,7 @@
into a single data store.
</p>
-<pre class="source">
+<pre class="source lang-xml">
<span class="nr"> 1</span><jacoco:merge destfile="merged.exec">
<span class="nr"> 2</span> <fileset dir="executionData" includes="*.exec"/>
<span class="nr"> 3</span></jacoco:merge>
@@ -263,7 +265,7 @@
input data, additional ones specify the output formats:
</p>
-<pre class="source">
+<pre class="source lang-xml">
<span class="nr"> 1</span><jacoco:report>
<span class="nr"> 2</span>
<span class="nr"> 3</span> <executiondata>
@@ -326,7 +328,7 @@
report (see the <a href="../coverage/index.html">resulting report</a>):
</p>
-<pre class="source">
+<pre class="source lang-xml">
<span class="nr"> 1</span><structure name="JaCoCo">
<span class="nr"> 2</span> <group name="org.jacoco.core">
<span class="nr"> 3</span> <classfiles>