diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:45:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:45:59 +0000 |
commit | 19fcec84d8d7d21e796c7624e521b60d28ee21ed (patch) | |
tree | 42d26aa27d1e3f7c0b8bd3fd14e7d7082f5008dc /src/boost/tools/quickbook/test/source_mode-1_7.gold-html | |
parent | Initial commit. (diff) | |
download | ceph-upstream/16.2.11+ds.tar.xz ceph-upstream/16.2.11+ds.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/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 000000000..f5b16981c --- /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> |