📄 preformatted.gold
字号:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE library PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
<article id="preformatted" name="Preformatted" dirname="preformatted" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $"
xmlns:xi="http://www.w3.org/2001/XInclude">
<articleinfo>
</articleinfo>
<title>Preformatted</title>
<section id="preformatted.preformatted">
<title>Preformatted</title>
<para>
Here's the ubiquitous <emphasis>Hello World</emphasis> program in C++.
</para>
<programlisting>#include <iostream>
int main()
{
std::cout << "Hello, World!" << std::endl;
return 0;
}
</programlisting>
<para>
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><phrase role="identifier">main</phrase></code>,
on line 3.
</para>
</section>
</article>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -