Debian Codegraph @

extras/_test/subscript.txt

raw
1 1: Surrounded by tildes
2 //- - - - - - - - -//
3 ~foo~
4 //- - - - - - - - -//
5 <p><sub>foo</sub></p>
6 //= = = = = = = = = = = = = = = = = = = = = = = =//
7
8 2: Formula with tildes in the middle
9 //- - - - - - - - -//
10 H~2~O
11 //- - - - - - - - -//
12 <p>H<sub>2</sub>O</p>
13 //= = = = = = = = = = = = = = = = = = = = = = = =//
14
15 3: Indices
16 //- - - - - - - - -//
17 x~i~ + x~j~
18 //- - - - - - - - -//
19 <p>x<sub>i</sub> + x<sub>j</sub></p>
20 //= = = = = = = = = = = = = = = = = = = = = = = =//
21
22 4: Escaped tilde
23 //- - - - - - - - -//
24 ~foo\~
25 //- - - - - - - - -//
26 <p>~foo~</p>
27 //= = = = = = = = = = = = = = = = = = = = = = = =//
28
29 5: Non-breaking space entity
30 //- - - - - - - - -//
31 ~foo&nbsp;bar~
32 //- - - - - - - - -//
33 <p><sub>foo bar</sub></p>
34 //= = = = = = = = = = = = = = = = = = = = = = = =//
35
36 6: Non-breaking space UTF-8
37 //- - - - - - - - -//
38 ~foo bar~
39 //- - - - - - - - -//
40 <p><sub>foo bar</sub></p>
41 //= = = = = = = = = = = = = = = = = = = = = = = =//
42
43 7: Tildes in the middle and text before
44 //- - - - - - - - -//
45 text H~2~O
46 //- - - - - - - - -//
47 <p>text H<sub>2</sub>O</p>
48 //= = = = = = = = = = = = = = = = = = = = = = = =//
49
50 8: Tildes in the middle and text after
51 //- - - - - - - - -//
52 H~2~O text
53 //- - - - - - - - -//
54 <p>H<sub>2</sub>O text</p>
55 //= = = = = = = = = = = = = = = = = = = = = = = =//
56
57 9: Check for a direct conflict with strikethrough
58 //- - - - - - - - -//
59 ~~foobar~~
60 //- - - - - - - - -//
61 <p><del>foobar</del></p>
62 //= = = = = = = = = = = = = = = = = = = = = = = =//
63
64 10: Mixed subscript and strikethrough will not work as expected!
65 //- - - - - - - - -//
66 ~~x~foobar~~~
67 //- - - - - - - - -//
68 <p>~~x~foobar~~~</p>
69 //= = = = = = = = = = = = = = = = = = = = = = = =//