• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[article Code Block]
2
3[section Test 1]
4
5A code block with proper indentation ;-)
6
7    #include <iostream>
8
9    int main()
10    {
11        std::cout << "Hello, World!" << std::endl;
12        return 0;
13    }
14
15[endsect]
16
17[section Test 2]
18
19A code block with proper indentation ;-)
20
21``
22    #include <iostream>
23
24    int main()
25    {
26        std::cout << "Hello, World!" << std::endl;
27        return 0;
28    }
29``
30
31[endsect]
32
33[section Test 3]
34
35[python]
36``
37    print "\xfabln\xeck"
38``
39
40[endsect]
41
42[section Test 4]
43
44This isn't valid C++ but I think we should accept it;
45
46[c++]
47``
48    std::cout<<"\xfabln\xeck"<<"\n";
49``
50
51[endsect]
52