summaryrefslogtreecommitdiffstats
path: root/src/boost/tools/quickbook/test/preformatted-1_1.gold-html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:45:59 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:45:59 +0000
commit19fcec84d8d7d21e796c7624e521b60d28ee21ed (patch)
tree42d26aa27d1e3f7c0b8bd3fd14e7d7082f5008dc /src/boost/tools/quickbook/test/preformatted-1_1.gold-html
parentInitial commit. (diff)
downloadceph-19fcec84d8d7d21e796c7624e521b60d28ee21ed.tar.xz
ceph-19fcec84d8d7d21e796c7624e521b60d28ee21ed.zip
Adding upstream version 16.2.11+ds.upstream/16.2.11+dsupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/boost/tools/quickbook/test/preformatted-1_1.gold-html')
-rw-r--r--src/boost/tools/quickbook/test/preformatted-1_1.gold-html58
1 files changed, 58 insertions, 0 deletions
diff --git a/src/boost/tools/quickbook/test/preformatted-1_1.gold-html b/src/boost/tools/quickbook/test/preformatted-1_1.gold-html
new file mode 100644
index 000000000..e25c047f5
--- /dev/null
+++ b/src/boost/tools/quickbook/test/preformatted-1_1.gold-html
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<html>
+ <head></head>
+ <body>
+ <h3>
+ Preformatted
+ </h3>
+ <div class="toc">
+ <p>
+ <b>Table of contents</b>
+ </p>
+ <ul>
+ <li>
+ <a href="#preformatted.preformatted">Preformatted</a>
+ </li>
+ </ul>
+ </div>
+ <div id="preformatted.preformatted">
+ <h3>
+ Preformatted
+ </h3>
+ <div id="preformatted.preformatted">
+ <p>
+ Here's the ubiquitous <span class="emphasis"><em>Hello World</em></span>
+ program in C++.
+ </p>
+<pre class="programlisting">#include &lt;iostream&gt;
+
+int main()
+{
+ std::cout &lt;&lt; &quot;Hello, World!&quot; &lt;&lt; std::endl;
+ return 0;
+}
+</pre>
+ <p>
+ The code should appear as a single block of code in a monospaced font and
+ with no syntax highlighting. The fifth and sixth lines should appear indented
+ to the right, aligning under <code><span class="identifier">main</span></code>,
+ on line 3.
+ </p>
+ <p>
+ Here's a one line function definitition:
+ </p>
+<pre class="programlisting">void something(); </pre>
+ <p>
+ .
+ </p>
+ <p>
+ And some indented code:
+ </p>
+<pre class="programlisting">void go()
+ {
+ }
+</pre>
+ </div>
+ </div>
+ </body>
+</html>