152fe4fa5d
- More consistent names. - Not using `.` in basename. - Run the quickbook manual test last (as when there's an error, the more specific tests are more informative). - Combine some of the code tests. [SVN r75235]
52 lines
617 B
Plaintext
52 lines
617 B
Plaintext
[article Code Block]
|
|
|
|
[section Test 1]
|
|
|
|
A code block with proper indentation ;-)
|
|
|
|
#include <iostream>
|
|
|
|
int main()
|
|
{
|
|
std::cout << "Hello, World!" << std::endl;
|
|
return 0;
|
|
}
|
|
|
|
[endsect]
|
|
|
|
[section Test 2]
|
|
|
|
A code block with proper indentation ;-)
|
|
|
|
``
|
|
#include <iostream>
|
|
|
|
int main()
|
|
{
|
|
std::cout << "Hello, World!" << std::endl;
|
|
return 0;
|
|
}
|
|
``
|
|
|
|
[endsect]
|
|
|
|
[section Test 3]
|
|
|
|
[python]
|
|
``
|
|
print "\xfabln\xeck"
|
|
``
|
|
|
|
[endsect]
|
|
|
|
[section Test 4]
|
|
|
|
This isn't valid C++ but I think we should accept it;
|
|
|
|
[c++]
|
|
``
|
|
std::cout<<"\xfabln\xeck"<<"\n";
|
|
``
|
|
|
|
[endsect]
|