]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/quickbook/test/source_mode-1_7.quickbook
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / tools / quickbook / test / source_mode-1_7.quickbook
1 [quickbook 1.7]
2 [source-mode teletype]
3 [article Source Mode Test]
4
5 [!c++][table [[``int main() {}``][``void foo() {}``]]]
6 ``Plain text...``
7
8 [!c++]`int main() {}` but `plain text`.
9
10 [!c++]
11 * `int main() {}`
12 * `int main() {}`
13 * [teletype] `int main() {}` [/ shouldn't be highlighted]
14
15 [!c++]
16 `int main() {}` and `int main() {}` should both be C++ highlighted.
17 [!teletype]`int main() {}` shouldn't be, but `int main() {}` should.
18
19 [!c++] `int main() {}`. Not highlighted: `int main() {}`.
20
21 [!c++]
22 [section:cpp C++ section]
23 ``int main() {}``
24 [endsect]