cases/listblocks.html
37 lines · 1614 bytes
1<h2 id="source-blocks">Source blocks</h2>
2<ol>
3<li>Fork the repository</li>
4<li>Create a new branch:<pre><code class="language-bash highlight"><span class="source shell bash"><span class="meta function-call shell"><span class="variable function shell">git</span></span><span class="meta function-call arguments shell"> checkout<span class="variable parameter option shell"><span class="punctuation definition parameter shell"> -</span>b</span> my-feature</span></span></code></pre>
5</li>
6<li>Open a pull request</li>
7</ol>
8<h2 id="other-blocks">Other blocks</h2>
9<ul>
10<li>an item with an example block<pre>plain example text</pre>
11</li>
12<li>an item with a quote<blockquote>
13<p>quoted line</p>
14</blockquote>
15</li>
16</ul>
17<h2 id="blocks-alongside-other-content">Blocks alongside other content</h2>
18<ul>
19<li>an item with a sublist and a block<ul>
20<li>inner item</li>
21</ul>
22<pre><code class="language-sh highlight"><span class="source shell bash"><span class="meta function-call shell"><span class="support function echo shell">echo</span></span><span class="meta function-call arguments shell"> hi</span></span></code></pre>
23</li>
24<li><p>an item with two paragraphs and a block</p>
25<p>the second paragraph</p>
26<pre><code class="language-sh highlight"><span class="source shell bash"><span class="meta function-call shell"><span class="support function echo shell">echo</span></span><span class="meta function-call arguments shell"> again</span></span></code></pre>
27</li>
28<li>an item with a table<table>
29<thead>
30<tr><th>a</th><th>b</th></tr>
31</thead>
32<tbody>
33<tr><td>1</td><td>2</td></tr>
34</tbody>
35</table>
36</li>
37</ul>