diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 18:24:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 18:24:20 +0000 |
commit | 483eb2f56657e8e7f419ab1a4fab8dce9ade8609 (patch) | |
tree | e5d88d25d870d5dedacb6bbdbe2a966086a0a5cf /src/boost/tools/quickbook/test/source_mode-1_7.gold-html | |
parent | Initial commit. (diff) | |
download | ceph-upstream.tar.xz ceph-upstream.zip |
Adding upstream version 14.2.21.upstream/14.2.21upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/boost/tools/quickbook/test/source_mode-1_7.gold-html')
-rw-r--r-- | src/boost/tools/quickbook/test/source_mode-1_7.gold-html | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/src/boost/tools/quickbook/test/source_mode-1_7.gold-html b/src/boost/tools/quickbook/test/source_mode-1_7.gold-html new file mode 100644 index 00000000..f5b16981 --- /dev/null +++ b/src/boost/tools/quickbook/test/source_mode-1_7.gold-html @@ -0,0 +1,80 @@ +<!DOCTYPE html> +<html> + <head></head> + <body> + <h3> + Source Mode Test + </h3> + <div class="toc"> + <p> + <b>Table of contents</b> + </p> + <ul> + <li> + <a href="#source_mode_test.cpp">C++ section</a> + </li> + </ul> + </div> + <div class="informaltable"> + <table> + <tbody> + <tr> + <td> +<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span> <span class="special">{}</span></pre> + </td> + <td> +<pre class="programlisting"><span class="keyword">void</span> <span class="identifier">foo</span><span class="special">()</span> <span class="special">{}</span></pre> + </td> + </tr> + </tbody> + </table> + </div> +<pre class="programlisting">Plain text...</pre> + <p> + <code><span class="keyword">int</span> <span class="identifier">main</span><span + class="special">()</span> <span class="special">{}</span></code> but <code>plain + text</code>. + </p> + <ul> + <li> + <div> + <code><span class="keyword">int</span> <span class="identifier">main</span><span + class="special">()</span> <span class="special">{}</span></code> + </div> + </li> + <li> + <div> + <code><span class="keyword">int</span> <span class="identifier">main</span><span + class="special">()</span> <span class="special">{}</span></code> + </div> + </li> + <li> + <div> + <code>int main() {}</code> + </div> + </li> + </ul> + <p> + <code><span class="keyword">int</span> <span class="identifier">main</span><span + class="special">()</span> <span class="special">{}</span></code> and <code><span + class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span> + <span class="special">{}</span></code> should both be C++ highlighted. <code>int + main() {}</code> shouldn't be, but <code><span class="keyword">int</span> + <span class="identifier">main</span><span class="special">()</span> <span class="special">{}</span></code> + should. + </p> + <p> + <code><span class="keyword">int</span> <span class="identifier">main</span><span + class="special">()</span> <span class="special">{}</span></code>. Not highlighted: + <code>int main() {}</code>. + </p> + <div id="source_mode_test.cpp"> + <h3> + C++ section + </h3> + <div id="source_mode_test.cpp"> +<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span> <span class="special">{}</span></pre> + </div> + </div> + </body> +</html> |