Debian Codegraph @

tests/extensions/superfences/superfences (normal).txt

raw
1 # Neseted Fences:
2
3 ```
4 This will still be parsed
5 as a normal indented code block.
6 ```
7
8 ```
9 This will still be parsed
10 as a fenced code block.
11 ```
12
13 -
14 ```
15 This will work.
16 ```
17
18 - This is a list that contains multiple code blocks.
19
20 - Here is an indented block
21
22 ```
23 This will still be parsed
24 as a normal indented code block.
25 ```
26
27 - Here is a fenced code block:
28
29 ```
30 This will still be parsed
31 as a fenced code block.
32 ```
33
34 > ```
35 > Blockquotes?
36
37 > Not a problem!
38 > ```
39
40 - Fenced block with lesser child fence.
41
42 ````
43 ```
44 Fenced block containing fenced syntax.
45 ```
46 ````
47
48 ````
49 ```
50 Fenced block containing fenced syntax.
51 ```
52 ````
53
54 - Fenced block with greater child fence:
55
56 ```
57 ````
58 Fenced block containing fenced syntax.
59 ````
60 ```
61
62 ```
63 ````
64 Fenced block containing fenced syntax.
65 ````
66 ```
67
68 - Fenced block with indented child fence:
69
70 ```
71 ```
72 Fenced block containing fenced syntax.
73 ```
74 ```
75
76 - Tabs
77
78 ```
79 Test with tabs.
80 Test with tabs.
81 Test tabs.
82 ```
83
84 ```
85 ============================================================
86 T Tp Sp D Dp S D7 T
87 ------------------------------------------------------------
88 A F#m Bm E C#m D E7 A
89 A# Gm Cm F Dm D# F7 A#
90 B♭ Gm Cm F Dm E♭m F7 B♭
91 ```
92
93 - Here is a highlighted code block with line numbers:
94
95 ```python linenums="1"
96 """Some file."""
97 import foo.bar
98 import boo.baz
99 import foo.bar.baz
100 ```
101
102 - Here is a highlighted code block with line numbers and line highlighting:
103
104 ```python hl_lines="2 3" linenums="1"
105 """Some file."""
106 import foo.bar
107 import boo.baz
108 import foo.bar.baz
109 ```
110
111 - Highlight extended language:
112
113 ```php-inline
114 $a = array("foo" => 0, "bar" => 1);
115 ```
116
117 # UML Flow Charts
118
119 ```flow
120 st=>start: Start:>http://www.google.com[blank]
121 e=>end:>http://www.google.com
122 op1=>operation: My Operation
123 sub1=>subroutine: My Subroutine
124 cond=>condition: Yes
125 or No?:>http://www.google.com
126 io=>inputoutput: catch something...
127
128 st->op1->cond
129 cond(yes)->io->e
130 cond(no)->sub1(right)->op1
131 ```
132
133 # UML Sequence Diagrams
134
135 ```sequence
136 Title: Here is a title
137 A->B: Normal line
138 B-->C: Dashed line
139 C->>D: Open arrow
140 D-->>A: Dashed open arrow
141 ```
142
143 # Attribute List
144
145 ```{ .python #id .another-class hl_lines="2 3" linenums="1" }
146 """Some file."""
147 import foo.bar
148 import boo.baz
149 import foo.bar.baz
150 ```